package com.smartdevicelink.api.lockscreen;

import android.graphics.Color;
import android.test.AndroidTestCase;

import com.smartdevicelink.R;

/**
 * This is a unit test class for the SmartDeviceLink library manager class :
 * {@link com.smartdevicelink.api.lockscreen.LockScreenConfig}
 *
 * We currently do not need to test null values, as each currently is a primitive
 */
public class LockScreenConfigTests extends AndroidTestCase {

	private LockScreenConfig lockScreenConfig;

	@Override
	public void setUp() throws Exception {
		super.setUp();

		// set info for all the setters
		lockScreenConfig.setCustomView(R.layout.activity_sdllock_screen);
		lockScreenConfig.setAppIcon(R.drawable.sdl_lockscreen_icon);
		lockScreenConfig.setBackgroundColor(Color.BLUE);
		lockScreenConfig.setEnabled(true);
	}

	@Override
	public void tearDown() throws Exception {
		super.tearDown();
	}

	public void testLockScreenConfig() {

		// get the info and make sure its correct
		assertEquals(R.layout.activity_sdllock_screen, lockScreenConfig.getCustomView());
		assertEquals(R.drawable.sdl_lockscreen_icon, lockScreenConfig.getAppIcon());
		assertEquals(Color.BLUE, lockScreenConfig.getBackgroundColor());
		assertEquals(true, lockScreenConfig.getEnabled());
	}

}
@@ -42,39 +42,8 @@
 n;%0A%0A
-import android.graphics.Color;%0A
 impo
@@ -107,10 +107,19 @@
 ink.
-R;
+test.Test;%0A
 %0A%0A/*
@@ -596,40 +596,24 @@
 iew(
-R.layout.activity_sdllock_screen
+Test.GENERAL_INT
 );%0A%09
@@ -645,38 +645,24 @@
 con(
-R.drawable.sdl_lockscreen_icon
+Test.GENERAL_INT
 );%0A%09
@@ -698,26 +698,32 @@
 ndColor(
-Color.BLUE
+Test.GENERAL_INT
 );%0A%09%09loc
@@ -938,40 +938,24 @@
 als(
-R.layout.activity_sdllock_screen
+Test.GENERAL_INT
 , lo
@@ -1006,38 +1006,24 @@
 als(
-R.drawable.sdl_lockscreen_icon
+Test.GENERAL_INT
 , lo
@@ -1071,18 +1071,24 @@
 als(
-Color.BLUE
+Test.GENERAL_INT
 , lo

update lockscreenconfig tests to use Test class values