-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated legacy authentication methods that do not comply with modern security standards.
- Loading branch information
1 parent
f66bfd3
commit cfd8de0
Showing
34 changed files
with
436 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 18 additions & 10 deletions
28
...pp/app/src/androidTest/java/authorize/net/inperson_sdk_android/QuickChipAuthOnlyTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,27 @@ | ||
package authorize.net.inperson_sdk_android; | ||
|
||
import androidx.test.ext.junit.rules.ActivityScenarioRule; | ||
import androidx.test.ext.junit.runners.AndroidJUnit4; | ||
|
||
import net.authorize.aim.emv.EMVTransactionManager; | ||
|
||
/** | ||
* Created by yiwang on 1/12/17. | ||
*/ | ||
import org.junit.Rule; | ||
import org.junit.Test; | ||
import org.junit.runner.RunWith; | ||
|
||
@RunWith(AndroidJUnit4.class) | ||
public class QuickChipAuthOnlyTest extends QuickChipBaseTest { | ||
public void testQuickChipAuthOnlyTest() throws InterruptedException{ | ||
getActivity().runOnUiThread(new Runnable() { | ||
@Override | ||
public void run() { | ||
EMVTransactionManager.startQuickChipTransaction(sampleEMVTransaction("7.1"), iemvTransaction, getActivity(), false, true); | ||
} | ||
|
||
@Rule | ||
public ActivityScenarioRule<MainActivity> activityScenarioRule = new ActivityScenarioRule<>(MainActivity.class); | ||
|
||
@Test | ||
public void testQuickChipAuthOnly() throws InterruptedException { | ||
activityScenarioRule.getScenario().onActivity(activity -> { | ||
activity.runOnUiThread(() -> { | ||
EMVTransactionManager.startQuickChipTransaction(sampleEMVTransaction("7.1"), iemvTransaction, activity, false, true); | ||
}); | ||
}); | ||
semaphore.acquire(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.