Skip to content

Commit

Permalink
rename some test classes
Browse files Browse the repository at this point in the history
  • Loading branch information
timmolter committed Jan 31, 2015
1 parent 86d8c64 commit 3d947cd
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @author obsessiveOrange
*/

public class TestCoinfloorAdapters {
public class CoinfloorAdaptersTest {

private AccountInfo cachedAccountInfo;
private Trades cachedTrades;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* @author obsessiveOrange
*/
public class TestCoinfloorUtils {
public class CoinfloorUtilsTest {

@Test(expected = ExchangeException.class)
public void verifyCheckSuccessInt() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
/**
* @author obsessiveOrange
*/
public class TestGetBalancesReturn {
public class CoinfloorBalancesTest {

@Test
public void testMapping() throws JsonParseException, JsonMappingException, IOException {

// Read in the JSON from the example resources
InputStream is = TestGetBalancesReturn.class.getResourceAsStream("/account/example-balances-response.json");
InputStream is = CoinfloorBalancesTest.class.getResourceAsStream("/account/example-balances-response.json");

// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
/**
* @author obsessiveOrange
*/
public class TestTradeVolumeReturn {
public class CoinfloorTradeVolumeTest {

@Test
public void testMapping() throws JsonParseException, JsonMappingException, IOException {

// Read in the JSON from the example resources
InputStream is = TestTradeVolumeReturn.class.getResourceAsStream("/account/example-tradeVolume-response.json");
InputStream is = CoinfloorTradeVolumeTest.class.getResourceAsStream("/account/example-tradeVolume-response.json");

// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
/**
* @author obsessiveOrange
*/
public class TestOrderbookReturn {
public class CoinfloorOrderbookTest {

@Test
public void testMapping() throws JsonParseException, JsonMappingException, IOException {

// Read in the JSON from the example resources
InputStream is = TestOrderbookReturn.class.getResourceAsStream("/marketdata/example-orders-response.json");
InputStream is = CoinfloorOrderbookTest.class.getResourceAsStream("/marketdata/example-orders-response.json");

// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
/**
* @author obsessiveOrange
*/
public class TestTicker {
public class CoinfloorTickerTest {

@Test
public void testMapping() throws JsonParseException, JsonMappingException, IOException {

// Read in the JSON from the example resources
InputStream is = TestTicker.class.getResourceAsStream("/marketdata/example-ticker-response.json");
InputStream is = CoinfloorTickerTest.class.getResourceAsStream("/marketdata/example-ticker-response.json");

// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
Expand All @@ -40,7 +40,7 @@ public void testMapping() throws JsonParseException, JsonMappingException, IOExc
public void testMapping2() throws JsonParseException, JsonMappingException, IOException {

// Read in the JSON from the example resources
InputStream is = TestTicker.class.getResourceAsStream("/marketdata/example-ticker-update.json");
InputStream is = CoinfloorTickerTest.class.getResourceAsStream("/marketdata/example-ticker-update.json");

// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
/**
* @author obsessiveOrange
*/
public class TestCancelOrderReturn {
public class CoinfloorCancelOrderTest {

@Test
public void testMapping() throws JsonParseException, JsonMappingException, IOException {

// Read in the JSON from the example resources
InputStream is = TestCancelOrderReturn.class.getResourceAsStream("/trade/example-cancelOrder-response.json");
InputStream is = CoinfloorCancelOrderTest.class.getResourceAsStream("/trade/example-cancelOrder-response.json");

// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
/**
* @author obsessiveOrange
*/
public class TestEstimateMarketorder {
public class CoinfloorEstimateMarketOrderTest {

@Test
public void testMapping() throws JsonParseException, JsonMappingException, IOException {

// Read in the JSON from the example resources
InputStream is = TestEstimateMarketorder.class.getResourceAsStream("/trade/example-estimateMarketOrder-response.json");
InputStream is = CoinfloorEstimateMarketOrderTest.class.getResourceAsStream("/trade/example-estimateMarketOrder-response.json");

// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
/**
* @author obsessiveOrange
*/
public class TestOpenOrders {
public class CoinfloorOpenOrdersTest {

@Test
public void testMapping() throws JsonParseException, JsonMappingException, IOException {

// Read in the JSON from the example resources
InputStream is = TestOpenOrders.class.getResourceAsStream("/trade/example-openOrders-response.json");
InputStream is = CoinfloorOpenOrdersTest.class.getResourceAsStream("/trade/example-openOrders-response.json");

// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
/**
* @author obsessiveOrange
*/
public class TestPlaceOrder {
public class CoinfloorPlaceOrderTest {

@Test
public void testMapping() throws JsonParseException, JsonMappingException, IOException {

// Read in the JSON from the example resources
InputStream is = TestPlaceOrder.class.getResourceAsStream("/trade/example-placeOrder-response.json");
InputStream is = CoinfloorPlaceOrderTest.class.getResourceAsStream("/trade/example-placeOrder-response.json");

// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
/**
* @author timmolter
*/
public class TestOERTickers {
public class OERTickersTest {

@Test
public void testUnmarshal() throws IOException {

// Read in the JSON from the example resources
InputStream is = TestOERTickers.class.getResourceAsStream("/example-latest-rates.json");
InputStream is = OERTickersTest.class.getResourceAsStream("/example-latest-rates.json");

// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
Expand Down

0 comments on commit 3d947cd

Please sign in to comment.