/*
 *  Copyright (C) 2011-2012 The Animo Project
 *  http://animotron.org
 *  	
 *  This file is part of Animotron.
 *  
 *  Animotron is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as 
 *  published by the Free Software Foundation, either version 3 of 
 *  the License, or (at your option) any later version.
 *  
 *  Animotron is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *  
 *  You should have received a copy of 
 *  the GNU Affero General Public License along with Animotron.  
 *  If not, see <http://www.gnu.org/licenses/>.
 */
package org.animotron.statement.operator;

import junit.framework.Assert;
import org.animotron.ATest;
import org.junit.Test;

/**
 * @author <a href="mailto:shabanovd@gmail.com">Dmitriy Shabanov</a>
 * @author <a href="mailto:gazdovsky@gmail.com">Evgeny Gazdovsky</a>
 *
 */
public class ValueTest extends ATest {
	
    @Test
    public void test() throws Throwable {

        testAnimo("def foo \"abc\".");
        testAnimo("def bar \"ebc\".");

        try {Thread.sleep(1000);} catch (InterruptedException e) {}

        Assert.assertNotNull(DEF._.get("a"));
        Assert.assertNotNull(DEF._.get("b"));
        Assert.assertNotNull(DEF._.get("c"));

    }

}
@@ -900,16 +900,60 @@
 .ATest;%0A
+import org.animotron.statement.value.VALUE;%0A
 import o
@@ -1250,16 +1250,55 @@
 c%5C%22.%22);%0A
+        testAnimo(%22def foo %5C%22abe%5C%22.%22);%0A
         
@@ -1328,16 +1328,16 @@
 c%5C%22.%22);%0A
-
 %0A       
@@ -1419,35 +1419,37 @@
 t.assertNotNull(
-DEF
+VALUE
 ._.get(%22a%22));%0A  
@@ -1467,35 +1467,37 @@
 t.assertNotNull(
-DEF
+VALUE
 ._.get(%22b%22));%0A  
@@ -1527,11 +1527,13 @@
 ull(
-DEF
+VALUE
 ._.g

update test