PageRenderTime 10ms CodeModel.GetById 1ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/v3.2/nimbits-sdk/test/AuthTest.java

http://nimbits-server.googlecode.com/
Java | 41 lines | 14 code | 9 blank | 18 comment | 0 complexity | d95920a556a8de34723a46866fb662ff MD5 | raw file
 1/*
 2 * Copyright (c) 2010 Tonic Solutions LLC.
 3 *
 4 * http://www.nimbits.com
 5 *
 6 *
 7 * Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
 8 *
 9 * http://www.gnu.org/licenses/gpl.html
10 *
11 * Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
12 */
13
14import org.junit.Test;
15
16import java.io.IOException;
17
18import static org.junit.Assert.assertTrue;
19
20/**
21 * Created by bsautner
22 * User: benjamin
23 * Date: 7/30/11
24 * Time: 10:14 AM
25 */
26public class AuthTest {
27
28
29    @Test
30    public void testAuth() throws IOException {
31       assertTrue(Common.clientSupportOnProd().isLoggedIn());
32        assertTrue(Common.client().isLoggedIn());
33
34    }
35     @Test
36    public void testAuth2() throws IOException {
37
38        assertTrue(Common.client().isLoggedIn());
39
40    }
41}