@@ -55,17 +55,6 @@ public void testIsPurchased() throws Exception {
55
55
assertTrue (BillingController .isPurchased (getContext (), TransactionTest .TRANSACTION_1 .productId ));
56
56
}
57
57
58
- @ MediumTest
59
- public void testIsPurchasedNet () throws Exception {
60
- assertFalse (BillingController .isPurchasedNet (getContext (), TransactionTest .TRANSACTION_1 .productId ));
61
- BillingController .storeTransaction (getContext (), TransactionTest .TRANSACTION_1 );
62
- assertTrue (BillingController .isPurchasedNet (getContext (), TransactionTest .TRANSACTION_1 .productId ));
63
- BillingController .storeTransaction (getContext (), TransactionTest .TRANSACTION_1_REFUNDED );
64
- assertFalse (BillingController .isPurchasedNet (getContext (), TransactionTest .TRANSACTION_1 .productId ));
65
- BillingController .storeTransaction (getContext (), TransactionTest .TRANSACTION_2 );
66
- assertFalse (BillingController .isPurchasedNet (getContext (), TransactionTest .TRANSACTION_1 .productId ));
67
- }
68
-
69
58
@ MediumTest
70
59
public void testCountPurchases () throws Exception {
71
60
assertEquals (BillingController .countPurchases (getContext (), TransactionTest .TRANSACTION_1 .productId ), 0 );
@@ -77,17 +66,6 @@ public void testCountPurchases() throws Exception {
77
66
assertEquals (BillingController .countPurchases (getContext (), TransactionTest .TRANSACTION_1 .productId ), 1 );
78
67
}
79
68
80
- @ MediumTest
81
- public void testCountPurchasesNet () throws Exception {
82
- assertEquals (BillingController .countPurchasesNet (getContext (), TransactionTest .TRANSACTION_1 .productId ), 0 );
83
- BillingController .storeTransaction (getContext (), TransactionTest .TRANSACTION_1 );
84
- assertEquals (BillingController .countPurchasesNet (getContext (), TransactionTest .TRANSACTION_1 .productId ), 1 );
85
- BillingController .storeTransaction (getContext (), TransactionTest .TRANSACTION_1_REFUNDED );
86
- assertEquals (BillingController .countPurchasesNet (getContext (), TransactionTest .TRANSACTION_1 .productId ), 0 );
87
- BillingController .storeTransaction (getContext (), TransactionTest .TRANSACTION_2 );
88
- assertEquals (BillingController .countPurchasesNet (getContext (), TransactionTest .TRANSACTION_1 .productId ), 0 );
89
- }
90
-
91
69
@ MediumTest
92
70
public void testGetTransactions () throws Exception {
93
71
final List <Transaction > transactions0 = BillingController .getTransactions (getContext ());
0 commit comments