kalyanhadooptraining / facebook-java-api

Automatically exported from code.google.com/p/facebook-java-api
1 stars 0 forks source link

testing path fil #362

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run junit testing 
2. shows error

What is the expected output? What do you see instead?
java.lang.RuntimeException: java.io.FileNotFoundException: 
C:\Users\<name>\.fbja-junit.properties (The system cannot find the file 
specified)
    at com.google.code.facebookapi.JUnitProperties.<init>(JUnitProperties.java:95)
    at com.google.code.facebookapi.FacebookSessionTestUtils.getJunitProperties(FacebookSessionTestUtils.java:40)
    at com.google.code.facebookapi.FacebookSessionTestUtils.attainSession(FacebookSessionTestUtils.java:50)
    at com.google.code.facebookapi.FacebookSessionTestUtils.getValidClient(FacebookSessionTestUtils.java:64)
    at com.google.code.facebookapi.AttachmentTest.testStreamPublishProperties(AttachmentTest.java:19)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
    at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
    at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
    at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
    at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
    at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
    at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
    at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
    at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
    at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.io.FileNotFoundException: 
C:\Users\<name>\.fbja-junit.properties (The system cannot find the file 
specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:120)
    at com.google.code.facebookapi.JUnitProperties.loadProperties(JUnitProperties.java:78)
    at com.google.code.facebookapi.JUnitProperties.<init>(JUnitProperties.java:92)
    ... 24 more

What version of the product are you using? On what operating system?
3.0.2 and windows7

Please provide any additional information below.

Original issue reported on code.google.com by maabujji on 10 Jul 2012 at 11:26