History log of /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/TelephonyNetworkFactoryTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ae6e8f99bdb297f906d6dcdc0a385ba27eee47fd 23-May-2017 Jack Yu <jackyu@google.com> Fixed file descriptor leak in telephony unit tests

The handler thread in SimulatedCommands was not closed after
each unit test run. Fixed by adding a dispose method to quit
the thread.

Also use quit() instead of quitSafely() for all thread quiting
because we don't care if the messages were dispatched or not
after the test. This can fix some messages sending to dead
threads non-harmful exceptions in the output debug messages.

Test: Telephony unit tests
bug: 29579544
Change-Id: I112e46b0147a1950046a35cd9ac2498560c6ee1b
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/TelephonyNetworkFactoryTest.java
26c3198e70345a70e5dfa8ee422c7c4e60916cbe 31-May-2016 Lorenzo Colitti <lorenzo@google.com> Switch to using StringNetworkSpecifier.

Bug: 27533960
Test: unit tests
Change-Id: Ic763178bb1d85e9ec1734953415a416e3216fd40
Merged-In: I85c575d620970063a396af06d84080a2cceb4293
Merged-In: Ie59fbfc49b07496057973a3279d6b9ef5bb9d4bd
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/TelephonyNetworkFactoryTest.java
cef2ab5e676f7a8187e5cddaa1d2547b13f48f39 25-Mar-2017 Jack Yu <jackyu@google.com> Fixed failed unit tests

Test: runtest --path frameworks/opt/telephony/tests/telephonytests/
bug: 29579544
Change-Id: Ib53a4e7fee5dee1f305303bfbd914e31cdd2ab71
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/TelephonyNetworkFactoryTest.java
92428df50d736a3d1d0f32779a22c65fcec0efab 01-Mar-2017 Jordan Liu <jminjie@google.com> Remove old @Postsubmit annotation

The annotation is no longer needed because it has been replaced with
@FlakyTest. This commit also removes the import.

Change-Id: I5e7c1a7b6a856f84f294f98acb4ba627fc7880cd
Fixes: 35710737
Test: No change to behavior
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/TelephonyNetworkFactoryTest.java
e73ef117c8f5a7ea2feaa9ba8a15ec2de4137c7d 24-Feb-2017 Jordan Liu <jminjie@google.com> Add @FlakyTest annotation to @Postsubmit tests

@Postsubmit may be used for something else in the future, so replace
them with the more correct and specific annotation, @FlakyTest.

Bug: 35710737
Change-Id: I0f0db45e29c90a28147caab700457d10a7abf698
Test: No change to behavior
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/TelephonyNetworkFactoryTest.java
d4e6f5b372377a4ecff6cfe944d9b5d6f4012498 16-Nov-2016 Jordan Liu <jminjie@google.com> Enable presubmit for passing telephony tests

With the change to lock clocks to improve test suite stability,
re-enable presubmit running for the locally passing telephony tests.

Bug: 29579544
Change-Id: Ibdb1bf17afd1546f95c2ab5c1199693ab004af23
Test: runtest --path \
tests/telephonytests/src/com/android/internal/telephony/dataconnection/DcTrackerTest.java
runtest --path \
tests/telephonytests/src/com/android/internal/telephony/dataconnection/\
TelephonyNetworkFactoryTest.java
runtest --path \
tests/telephonytests/src/com/android/internal/telephony/gsm/GsmInboundSmsHandlerTest.java
runtest --path \
tests/telephonytests/src/com/android/internal/telephony/ServiceStateTrackerTest.java
runtest --path \
tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/TelephonyNetworkFactoryTest.java
3374f09335e5b7681af05a35dd7454b565f8bb72 14-Sep-2016 Jordan Liu <jminjie@google.com> Mark flaky presubmit tests as @Postsubmit

Previously tests passing <95% of the time were considered flaky. Now we
mark any test passing <99% of the time as flaky.
Also increase wait time before assert in switchToCdma which was failing
inconsistently.

Bug: 31041734
Change-Id: Ibb353c99049b049f57d0f67b5027278d58c5f69b
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/TelephonyNetworkFactoryTest.java
e9bf1f44cc6a888fff8419c8f35612d503ba3216 05-Feb-2016 Robert Greenwalt <rgreenwalt@google.com> Create TelephonyNetworkFactory.

It replaces DctController. Also adds tests.

Change-Id: I7cff9197fe26dee3eb7df9be166b92e4c26e8970
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/TelephonyNetworkFactoryTest.java