Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

혼자 테스트 가능 - csrc의 tests 디렉토리 #4

Open
GoogleCodeExporter opened this issue Apr 27, 2015 · 1 comment
Open

혼자 테스트 가능 - csrc의 tests 디렉토리 #4

GoogleCodeExporter opened this issue Apr 27, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

https://github.com/ProjectCCNx/ccnx/blob/master/csrc/tests/test_answered_interes
t_suppression

https://github.com/ProjectCCNx/ccnx/blob/master/csrc/tests/test_ccndid

csrc의 tests에 보면 bash 스크립트 같은 테스트 파일들이 잔뜩 
있는데요.
이걸 읽어보면 혼자 테스트할 수 있을 것 같아요.
예를 들어서 위의 링크(파일이름 
test_answered_interest_suppression)를 보면
ccn_xmltoccnb  처럼 xml을 ccnb 바이트스트림으로 바꾸는 
프로그램도 있고
2번째 파일(test_ccndid)을 보면 ccn_ccnbtoxml라고 ccnb를 xml로 
바꾸는 것도 있고
처음 링크를 보면 클라이언트 4개를 만들어서 하나는 
publisher고 세개는 interest를 만들어서 보내고 하는 테스트도 
있어요
이걸 잘 복사해서 쓰면 좋을듯요.

Original issue reported on code.google.com by heychoii on 9 Nov 2011 at 8:21

@GoogleCodeExporter
Copy link
Author

ccnd(디버깅용 ccnd 실행)를 한 터미널에 실행시켜 놓고 다른 
터미널에서 csrc의 tests에서 테스트 파일들을 실행해 보시면 
테스트가 잘 됩니다.

Original comment by heychoii on 9 Nov 2011 at 1:10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant