text:
#pragma once
#include "XmlDocSink.h"
#include <string>

/**
  * Sink class that save the content of any CXmlDocSource into a file.
  * The file path is defined in the constructor.
  */
class CXmlFileDocSink : public CXmlDocSink
{
public:
    /**
      * Constructor
      *
      * @param[in] strXmlInstanceFile defines the path used to save the file.
      */
    CXmlFileDocSink(const string& strXmlInstanceFile);

private:
    /**
      * Implementation of CXmlDocSink::doProcess()
      * Write the content of the xmlDocSource to the file opened in strXmlInstanceFile using
      * UTF-8 encoding
      *
      * @param[in] xmlDocSource is the source containing the Xml document
      * @param[out] serializingContext is used as error output
      *
      * @return false if any error occurs
      */
    virtual bool doProcess(CXmlDocSource& xmlDocSource, CXmlSerializingContext& serializingContext);

    /**
      * Name of the instance file
      */
    string _strXmlInstanceFile;
};

redpajama_set_name: RedPajamaGithub


text:
''' <summary>
''' Used to decorate a Screen that provides the ability to validate range limits for the input value.
''' </summary>
''' <remarks></remarks>

<AttributeUsage(AttributeTargets.Class, AllowMultiple:=False)> _
Public NotInheritable Class CanValidateRangeAttribute
    Inherits Attribute

End Class


text:
<?php

use Mockery as m;
use Pingpong\Menus\MenuBuilder as Builder;

class BuilderTest extends PHPUnit_Framework_TestCase {

    public function tearDown()
    {
        m::close();
    }

    public function setUp()
    {
        $this->styles = array(
            'navbar' => 'Pingpong\Menus\Presenters\Bootstrap\NavbarPresenter',
            'navbar-right' => 'Pingpong\Menus\Presenters\Bootstrap\NavbarRightPresenter',
            'nav-pills' => 'Pingpong\Menus\Presenters\Bootstrap\NavPillsPresenter',
            'nav-tab' => 'Pingpong\Menus\Presenters\Bootstrap\NavTabPresenter',
        );
        $this->config = m::mock('Illuminate\Config\Repository');
        $this->builder = new Builder('top-menu', $this->config);
        $this->builder->setStyles($this->styles);
    }

    public function testInitialize()
    {
        $this->assertInstanceOf('Pingpong\Menus\MenuBuilder', $this->builder);
    }

    public function testAliases()
    {
        $actual = $this->builder->hasStyle('navbar');
        $alias = $this->builder->getStyle('navbar');

        $this->assertTrue($actual);
        $this->assertEquals('Pingpong\Menus\Presenters\Bootstrap\NavbarPresenter', $alias);
    }

    public function testGetAliasFromConfigFile()
    {
        $this->builder->setStyles(array());
        $this->config->shouldReceive('get')
                     ->times(2)
                     ->with('menus.styles')
                     ->andReturn(array('navbar' => $this->styles['navbar']));

        $actual = $this->builder->hasStyle('navbar');
        $alias = $this->builder->getStyle('navbar');

        $this->assertEquals('Pingpong\Menus\Presenters\Bootstrap\NavbarPresenter', $alias);
        $this->assertTrue($actual);
    }

}


text:
package com.ericsson.eiffel.remrem.semantics.factory;

import static com.ericsson.eiffel.remrem.semantics.EiffelEventType.*;

import java.util.EnumMap;

import com.ericsson.eiffel.remrem.semantics.EiffelEventType;
import com.ericsson.eiffel.remrem.semantics.config.LinksConfiguration;
import com.ericsson.eiffel.remrem.semantics.validator.EiffelValidator;
import com.ericsson.eiffel.remrem.semantics.validator.OutputValidator;

public class EiffelOutputValidatorFactory {

    private static final LinksConfiguration linksConfiguration = new LinksConfiguration();
    private static final EnumMap<EiffelEventType, EiffelValidator> validators = new EnumMap<>(EiffelEventType.class);

    static {
        String eventType = ACTIVITY_FINISHED.getEventName();
        validators.put(ACTIVITY_FINISHED,
                new OutputValidator("schemas/input/EiffelActivityFinishedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = ARTIFACT_PUBLISHED.getEventName();
        validators.put(ARTIFACT_PUBLISHED,
                new OutputValidator("schemas/input/EiffelArtifactPublishedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = ARTIFACT_CREATED.getEventName();
        validators.put(ARTIFACT_CREATED,
                new OutputValidator("schemas/input/EiffelArtifactCreatedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = ACTIVITY_STARTED.getEventName();
        validators.put(ACTIVITY_STARTED,
                new OutputValidator("schemas/input/EiffelActivityStartedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = ACTIVITY_CANCELED.getEventName();
        validators.put(ACTIVITY_CANCELED,
                new OutputValidator("schemas/input/EiffelActivityCanceledEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = ACTIVITY_TRIGGERED.getEventName();
        validators.put(ACTIVITY_TRIGGERED,
                new OutputValidator("schemas/input/EiffelActivityTriggeredEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = ANNOUNCEMENT_PUBLISHED.getEventName();
        validators.put(ANNOUNCEMENT_PUBLISHED,
                new OutputValidator("schemas/input/EiffelAnnouncementPublishedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = COMPOSITION_DEFINED.getEventName();
        validators.put(COMPOSITION_DEFINED,
                new OutputValidator("schemas/input/EiffelCompositionDefinedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = TESTCASE_CANCELED.getEventName();
        validators.put(TESTCASE_CANCELED,
                new OutputValidator("schemas/input/EiffelTestCaseCanceledEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = TESTCASE_TRIGGERED.getEventName();
        validators.put(TESTCASE_TRIGGERED,
                new OutputValidator("schemas/input/EiffelTestCaseTriggeredEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = EXECUTION_RECIPE_COLLECTION_CREATED.getEventName();
        validators.put(EXECUTION_RECIPE_COLLECTION_CREATED,
                new OutputValidator("schemas/input/EiffelTestExecutionRecipeCollectionCreatedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = ENVIRONMENT_DEFINED.getEventName();
        validators.put(ENVIRONMENT_DEFINED,
                new OutputValidator("schemas/input/EiffelEnvironmentDefinedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = FLOWCONTEXT_DEFINED.getEventName();
        validators.put(FLOWCONTEXT_DEFINED,
                new OutputValidator("schemas/input/EiffelFlowContextDefinedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = SOURCECHANGE_CREATED.getEventName();
        validators.put(SOURCECHANGE_CREATED,
                new OutputValidator("schemas/input/EiffelSourceChangeCreatedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = SOURCECHANGE_SUBMITTED.getEventName();
        validators.put(SOURCECHANGE_SUBMITTED,
                new OutputValidator("schemas/input/EiffelSourceChangeSubmittedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = TESTCASE_FINISHED.getEventName();
        validators.put(TESTCASE_FINISHED,
                new OutputValidator("schemas/input/EiffelTestCaseFinishedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = TESTCASE_STARTED.getEventName();
        validators.put(TESTCASE_STARTED,
                new OutputValidator("schemas/input/EiffelTestCaseStartedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = TESTSUITE_FINISHED.getEventName();
        validators.put(TESTSUITE_FINISHED,
                new OutputValidator("schemas/input/EiffelTestSuiteFinishedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = TESTSUITE_STARTED.getEventName();
        validators.put(TESTSUITE_STARTED,
                new OutputValidator("schemas/input/EiffelTestSuiteStartedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = ISSUE_VERIFIED.getEventName();
        validators.put(ISSUE_VERIFIED,
                new OutputValidator("schemas/input/EiffelIssueVerifiedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = ARTIFACT_REUSED.getEventName();
        validators.put(ARTIFACT_REUSED,
                new OutputValidator("schemas/input/EiffelArtifactReusedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = CONFIDENCELEVEL_MODIFIED.getEventName();
        validators.put(CONFIDENCELEVEL_MODIFIED,
                new OutputValidator("schemas/input/EiffelConfidenceLevelModifiedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = ALERT_ACKNOWLEDGED.getEventName();
        validators.put(ALERT_ACKNOWLEDGED,
                new OutputValidator("schemas/input/EiffelAlertAcknowledgedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = ARTIFACT_DEPLOYED.getEventName();
        validators.put(ARTIFACT_DEPLOYED,
                new OutputValidator("schemas/input/EiffelArtifactDeployedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = SERVICE_ALLOCATED.getEventName();
        validators.put(SERVICE_ALLOCATED,
                new OutputValidator("schemas/input/EiffelServiceAllocatedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = SERVICE_DEPLOYED.getEventName();
        validators.put(SERVICE_DEPLOYED,
                new OutputValidator("schemas/input/EiffelServiceDeployedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = SERVICE_DISCONTINUED.getEventName();
        validators.put(SERVICE_DISCONTINUED,
                new OutputValidator("schemas/input/EiffelServiceDiscontinuedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = SERVICE_RETURNED.getEventName();
        validators.put(SERVICE_RETURNED,
                new OutputValidator("schemas/input/EiffelServiceReturnedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = SERVICE_STARTED.getEventName();
        validators.put(SERVICE_STARTED,
                new OutputValidator("schemas/input/EiffelServiceStartedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = SERVICE_STOPPED.getEventName();
        validators.put(SERVICE_STOPPED,
                new OutputValidator("schemas/input/EiffelServiceStoppedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

        eventType = ALERT_CEASED.getEventName();
        validators.put(ALERT_CEASED,
                new OutputValidator("schemas/input/EiffelAlertCeasedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));
        eventType = ALERT_RAISED.getEventName();
        validators.put(ALERT_RAISED,
                new OutputValidator("schemas/input/EiffelAlertRaisedEvent.json", eventType,
                        linksConfiguration.getRequiredLinkTypes(eventType), linksConfiguration.getOptionalLinkTypes(eventType),
                        linksConfiguration.getAllLinkTypes()));

    }

    public static EiffelValidator getEiffelValidator(EiffelEventType type) {
        EiffelValidator result = validators.get(type);
        if (result != null) {
            return result;
        }

        throw new IllegalArgumentException("Illegal type: " + type);
    }

}


text:
"""
Sprite Move With Walls

Simple program to show basic sprite usage.

Artwork from http://kenney.nl
"""
import random
import arcade

SPRITE_SCALING = 0.5

SCREEN_WIDTH = 800
SCREEN_HEIGHT = 600

MOVEMENT_SPEED = 5

window = None

class MyApplication(arcade.Window):
    """ Main application class. """

    def setup(self):
        """ Set up the game and initialize the variables. """

        # Sprite lists
        self.all_sprites_list = arcade.SpriteList()
        self.wall_list = arcade.SpriteList()

        # Set up the player
        self.score = 0
        self.player_sprite = arcade.Sprite("images/character.png",
                                           SPRITE_SCALING)
        self.player_sprite.center_x = 50
        self.player_sprite.center_y = 64
        self.all_sprites_list.append(self.player_sprite)

        # -- Set up the walls
        # Create a row of boxes
        for x in range(173, 650, 64):
            wall = arcade.Sprite("images/boxCrate_double.png", SPRITE_SCALING)
            wall.center_x = x
            wall.center_y = 200
            self.all_sprites_list.append(wall)
            self.wall_list.append(wall)

        # Create a column of boxes
        for y in range(273, 500, 64):
            wall = arcade.Sprite("images/boxCrate_double.png", SPRITE_SCALING)
            wall.center_x = 465
            wall.center_y = y
            self.all_sprites_list.append(wall)
            self.wall_list.append(wall)

        self.physics_engine = arcade.PhysicsEngineSimple(self.player_sprite,
                                                         self.wall_list)

        # Set the background color
        arcade.set_background_color(arcade.color.AMAZON)

    def on_draw(self):
        """
        Render the screen.
        """

        # This command has to happen before we start drawing
        arcade.start_render()

        # Draw all the sprites.
        self.all_sprites_list.draw()

        # Put the text on the screen.
        output = "Score: {}".format(self.score)
        arcade.draw_text(output, 10, 20, arcade.color.WHITE, 14)

    def on_key_press(self, key, modifiers):
        """
        Called whenever the mouse moves.
        """
        if key == arcade.key.UP:
            self.player_sprite.change_y = MOVEMENT_SPEED
        elif key == arcade.key.DOWN:
            self.player_sprite.change_y = -MOVEMENT_SPEED
        elif key == arcade.key.LEFT:
            self.player_sprite.change_x = -MOVEMENT_SPEED
        elif key == arcade.key.RIGHT:
            self.player_sprite.change_x = MOVEMENT_SPEED

    def on_key_release(self, key, modifiers):
        """
        Called when the user presses a mouse button.
        """
        if key == arcade.key.UP or key == arcade.key.DOWN:
            self.player_sprite.change_y = 0
        elif key == arcade.key.LEFT or key == arcade.key.RIGHT:
            self.player_sprite.change_x = 0

    def animate(self, delta_time):
        """ Movement and game logic """

        # Call update on all sprites (The sprites don't do much in this
        # example though.)
        self.physics_engine.update()

window = MyApplication(SCREEN_WIDTH, SCREEN_HEIGHT)
window.setup()

arcade.run()


text:
extern Context context;

////////////////////////////////////////////////////////////////////////////////
CmdProjects::CmdProjects ()
{
  _keyword               = "projects";
  _usage                 = "task <filter> projects";
  _description           = STRING_CMD_PROJECTS_USAGE;
  _read_only             = true;
  _displays_id           = false;
  _needs_gc              = true;
  _uses_context          = true;
  _accepts_filter        = true;
  _accepts_modifications = false;
  _accepts_miscellaneous = false;
  _category              = Command::Category::metadata;
}

////////////////////////////////////////////////////////////////////////////////
int CmdProjects::execute (std::string& output)
{
  int rc = 0;

  // Get all the tasks.
  handleRecurrence ();
  auto tasks = context.tdb2.pending.get_tasks ();

  if (context.config.getBoolean ("list.all.projects"))
    for (auto& task : context.tdb2.completed.get_tasks ())
      tasks.push_back (task);

  // Apply the filter.
  Filter filter;
  std::vector <Task> filtered;
  filter.subset (tasks, filtered);
  int quantity = filtered.size ();

  std::stringstream out;

  // Scan all the tasks for their project name, building a map using project
  // names as keys.
  std::map <std::string, int> unique;
  bool no_project = false;
  std::string project;
  for (auto& task : filtered)
  {
    if (task.getStatus () == Task::deleted)
    {
      --quantity;
      continue;
    }

    // Increase the count for the project the task belongs to and all
    // its super-projects
    project = task.get ("project");

    std::vector <std::string> projects = extractParents (project);
    projects.push_back (project);

    for (auto& parent : projects)
      unique[parent] += 1;

    if (project == "")
      no_project = true;
  }

  if (unique.size ())
  {
    // Render a list of project names from the map.
    ViewText view;
    view.width (context.getWidth ());
    view.add (Column::factory ("string",       STRING_COLUMN_LABEL_PROJECT));
    view.add (Column::factory ("string.right", STRING_COLUMN_LABEL_TASKS));

    Color label (context.config.get ("color.label"));
    view.colorHeader (label);

    std::vector <std::string> processed;
    for (auto& project : unique)
    {
      const std::vector <std::string> parents = extractParents (project.first);
      for (auto& parent : parents)
      {
        if (std::find (processed.begin (), processed.end (), parent) == processed.end ())
        {
          int row = view.addRow ();
          view.set (row, 0, indentProject (parent));
          processed.push_back (parent);
        }
      }
      int row = view.addRow ();
      view.set (row, 0, (project.first == ""
                          ? STRING_CMD_PROJECTS_NONE
                          : indentProject (project.first, "  ", '.')));
      view.set (row, 1, project.second);
      processed.push_back (project.first);
    }

    int number_projects = unique.size ();
    if (no_project)
      --number_projects;

    out << optionalBlankLine ()
        << view.render ()
        << optionalBlankLine ()
        << (number_projects == 1
              ? format (STRING_CMD_PROJECTS_SUMMARY,  number_projects)
              : format (STRING_CMD_PROJECTS_SUMMARY2, number_projects))
        << " "
        << (quantity == 1
              ? format (STRING_CMD_PROJECTS_TASK,  quantity)
              : format (STRING_CMD_PROJECTS_TASKS, quantity))
        << "\n";
  }
  else
  {
    out << STRING_CMD_PROJECTS_NO << "\n";
    rc = 1;
  }

  output = out.str ();
  return rc;
}

////////////////////////////////////////////////////////////////////////////////
CmdCompletionProjects::CmdCompletionProjects ()
{
  _keyword               = "_projects";
  _usage                 = "task <filter> _projects";
  _description           = STRING_CMD_PROJECTS_USAGE_2;
  _read_only             = true;
  _displays_id           = false;
  _needs_gc              = true;
  _uses_context          = false;
  _accepts_filter        = true;
  _accepts_modifications = false;
  _accepts_miscellaneous = false;
  _category              = Command::Category::internal;
}

////////////////////////////////////////////////////////////////////////////////
int CmdCompletionProjects::execute (std::string& output)
{
  // Get all the tasks.
  handleRecurrence ();
  auto tasks = context.tdb2.pending.get_tasks ();

  if (context.config.getBoolean ("list.all.projects"))
    for (auto& task : context.tdb2.completed.get_tasks ())
      tasks.push_back (task);

  // Apply the filter.
  Filter filter;
  std::vector <Task> filtered;
  filter.subset (tasks, filtered);

  // Scan all the tasks for their project name, building a map using project
  // names as keys.
  std::map <std::string, int> unique;
  for (auto& task : filtered)
    unique[task.get ("project")] = 0;

  for (auto& project : unique)
    if (project.first.length ())
      output += project.first + "\n";

  return 0;
}

////////////////////////////////////////////////////////////////////////////////


text:
PrintPreviewTest::PrintPreviewTest() {}
PrintPreviewTest::~PrintPreviewTest() {}

std::unique_ptr<BrowserWindow> PrintPreviewTest::CreateBrowserWindow() {
  return std::make_unique<DialogTestBrowserWindow>();
}


text:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>

	<conversionRule conversionWord="meshName" converterClass="com.gentics.mesh.log.MeshLogNameConverter"/>

	<appender name="STDERR" class="ch.qos.logback.core.ConsoleAppender">
		<target>System.err</target>
		<encoder>
			<pattern>TEST %-5level [%thread] [%file:%line] - %msg%n
			</pattern>
		</encoder>
		<filter class="ch.qos.logback.classic.filter.LevelFilter">
			<level>ERROR</level>
			<onMatch>ACCEPT</onMatch>
			<onMismatch>DENY</onMismatch>
		</filter>
	</appender>

	<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
		<encoder>
			<pattern>TEST %-5level [%thread] [%file:%line] - %msg%n
			</pattern>
		</encoder>
	</appender>

<!--
	<logger name="com.gentics.mesh.rest.client.impl.OkHttpWebsocket" level="TRACE"/>
	<logger name="io.vertx" level="INFO"/>
	<logger name="com.gentics.mesh" level="INFO"/>
	<logger name="org.elasticsearch" level="INFO"/>
	<logger name="com.gentics.mesh.rest.MeshResponseHandler" level="TRACE"/>
	<logger name="com.gentics.mesh.router" level="DEBUG"/>
	<logger name="com.gentics.mesh.search.impl.ElasticSearchProvider" level="DEBUG"/>
	<logger name="com.gentics.mesh.search.index.AbstractSearchHandler" level="DEBUG" />
	<logger name="com.gentics.mesh.rest.client.handler.impl.MeshJsonResponseHandler" level="DEBUG"/>
	<logger name="com.gentics.mesh.etc.RouterStorage" level="DEBUG"/>
	<logger name="com.gentics.mesh.search.index.NodeIndexHandler" level="DEBUG"/>
	<logger name="com.gentics.mesh.core.verticle.node.NodeMigrationVerticle" level="ERROR" />
	<logger name="com.gentics.mesh.core.data.node.handler.NodeMigrationHandler" level="ERROR" />
	<logger name="com.gentics" level="DEBUG" />
	<logger name="com.gentics.mesh.core.binary.impl" level="DEBUG" />
	<logger name="com.gentics.mesh.search.index" level="DEBUG" />
	<logger name="com.gentics.mesh.event.impl.EventQueueBatchImpl" level="TRACE" />
	<logger name="com.gentics.mesh.plugin" level="TRACE" />
 -->
	<root level="ERROR">
		<appender-ref ref="STDOUT"/>
	</root>
</configuration>


text:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.github.jioong</groupId>
    <artifactId>java-basic</artifactId>
    <version>1.0-SNAPSHOT</version>

</project>


text:
package org.apache.shardingsphere.sharding.rewrite.token;

import org.apache.shardingsphere.infra.binder.segment.insert.keygen.GeneratedKeyContext;
import org.apache.shardingsphere.infra.binder.statement.dml.InsertStatementContext;
import org.apache.shardingsphere.sharding.rewrite.token.generator.impl.keygen.GeneratedKeyForUseDefaultInsertColumnsTokenGenerator;
import org.apache.shardingsphere.sql.parser.sql.common.segment.dml.column.InsertColumnsSegment;
import org.junit.Test;

import java.util.Collections;
import java.util.Optional;

import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;

public final class GeneratedKeyForUseDefaultInsertColumnsTokenGeneratorTest {

    @Test
    public void assertGenerateSQLToken() {
        InsertColumnsSegment insertColumnsSegment = mock(InsertColumnsSegment.class);
        final int testStopIndex = 4;
        when(insertColumnsSegment.getStopIndex()).thenReturn(testStopIndex);
        InsertStatementContext insertStatementContext = mock(InsertStatementContext.class, RETURNS_DEEP_STUBS);
        when(insertStatementContext.getSqlStatement().getInsertColumns()).thenReturn(Optional.of(insertColumnsSegment));
        GeneratedKeyContext generatedKeyContext = mock(GeneratedKeyContext.class);
        final String testColumnName = "TEST_COLUMN_NAME";
        when(generatedKeyContext.getColumnName()).thenReturn(testColumnName);
        when(insertStatementContext.getGeneratedKeyContext()).thenReturn(Optional.of(generatedKeyContext));
        when(insertStatementContext.getColumnNames()).thenReturn(Collections.emptyList());
        GeneratedKeyForUseDefaultInsertColumnsTokenGenerator generatedKeyForUseDefaultInsertColumnsTokenGenerator = new GeneratedKeyForUseDefaultInsertColumnsTokenGenerator();
        assertThat(generatedKeyForUseDefaultInsertColumnsTokenGenerator.generateSQLToken(insertStatementContext).toString(), is(("(" + testColumnName) + ")"));
    }
}


text:
var React 		 = require('react');
var SearchField  = require('./SearchField.react');
var MovieResult  = require('./MovieResult.react');
var MovieActions = require('../actions/MovieActions');
var MovieStore   = require('../stores/MovieStore');

function getMovieState() {
	return {
		movies: MovieStore.getMovies(),
        seasons: MovieStore.getSeasons()
	};
}

var MovieSearch = React.createClass({

	getInitialState: function() {
        return getMovieState();
    },

    componentDidMount: function() {
        MovieStore.addChangeListener(this._onChange);
    },

    componentWillUnmount: function() {
        MovieStore.removeChangeListener(this._onChange);
    },

    /**
    * Event handler for 'change' events coming from the MovieStore
    */
    _onChange: function() {
        this.setState(getMovieState());
    },

	render: function() {

		var movies = this.state.movies.map(function(movie){
	        return (<MovieResult key={movie.id} value={movie.id} label={movie.name} />);
	    });

        var seasonData = this.state.seasons,
            seasons = Object.keys(seasonData).map(function(seasonId){
            return (<option key={seasonId} value={seasonId}>{seasonData[seasonId]}</option>);
        });

		return (

						Search:
						<SearchField className="form-control" id="q" size={80} onSave={this._onSearch} />

					<select size="5" name="series" id="series" className="form-control" onChange={this._onMovieChange}>
						{movies}
					</select>

					<select size="5" name="season" id="season" className="form-control">
						{seasons}
					</select>

		);
	},

	_onSearch: function(name) {
		MovieActions.searchMovies(name);
		return false; // Avoid sending the form
	},

	_onMovieChange: function(event) {
		var sel = event.target,
			movieId = sel.options[sel.selectedIndex].value;
		if (movieId) {
			MovieActions.selectMovie(movieId);
		}

	},

	_onSeasonSelect: function(event) {
		var sel = event.target,
			season = sel.options[sel.selectedIndex].value;
		MovieActions.selectSeason(season);
	}

});

module.exports = MovieSearch;


text:
namespace google {
namespace protobuf {
namespace io {
class Printer;  // printer.h
}
}  // namespace protobuf
}  // namespace google

namespace google {
namespace protobuf {
namespace compiler {
namespace cpp {

class EnumGenerator;       // enum.h
class ExtensionGenerator;  // extension.h

class MessageGenerator {
 public:
  // See generator.cc for the meaning of dllexport_decl.
  MessageGenerator(const Descriptor* descriptor,
                   const std::map<std::string, std::string>& vars,
                   int index_in_file_messages, const Options& options,
                   MessageSCCAnalyzer* scc_analyzer);
  ~MessageGenerator();

  // Append the two types of nested generators to the corresponding vector.
  void AddGenerators(
      std::vector<std::unique_ptr<EnumGenerator>>* enum_generators,
      std::vector<std::unique_ptr<ExtensionGenerator>>* extension_generators);

  // Generate definitions for this class and all its nested types.
  void GenerateClassDefinition(io::Printer* printer);

  // Generate definitions of inline methods (placed at the end of the header
  // file).
  void GenerateInlineMethods(io::Printer* printer);

  // Source file stuff.

  // Generate extra fields
  void GenerateExtraDefaultFields(io::Printer* printer);

  // Generates code that creates default instances for fields.
  void GenerateFieldDefaultInstances(io::Printer* printer);

  // Generates code that initializes the message's default instance.  This
  // is separate from allocating because all default instances must be
  // allocated before any can be initialized.
  void GenerateDefaultInstanceInitializer(io::Printer* printer);

  // Generate all non-inline methods for this class.
  void GenerateClassMethods(io::Printer* printer);

  // Generate source file code that should go outside any namespace.
  void GenerateSourceInProto2Namespace(io::Printer* printer);

 private:
  // Generate declarations and definitions of accessors for fields.
  void GenerateFieldAccessorDeclarations(io::Printer* printer);
  void GenerateFieldAccessorDefinitions(io::Printer* printer);

  // Generate the table-driven parsing array.  Returns the number of entries
  // generated.
  size_t GenerateParseOffsets(io::Printer* printer);
  size_t GenerateParseAuxTable(io::Printer* printer);
  // Generates a ParseTable entry.  Returns whether the proto uses
  // table-driven parsing.
  bool GenerateParseTable(io::Printer* printer, size_t offset,
                          size_t aux_offset);

  // Generate the field offsets array.  Returns the a pair of the total numer
  // of entries generated and the index of the first has_bit entry.
  std::pair<size_t, size_t> GenerateOffsets(io::Printer* printer);
  void GenerateSchema(io::Printer* printer, int offset, int has_offset);
  // For each field generates a table entry describing the field for the
  // table driven serializer.
  int GenerateFieldMetadata(io::Printer* printer);

  // Generate constructors and destructor.
  void GenerateStructors(io::Printer* printer);

  // The compiler typically generates multiple copies of each constructor and
  // destructor: http://gcc.gnu.org/bugs.html#nonbugs_cxx
  // Placing common code in a separate method reduces the generated code size.
  //
  // Generate the shared constructor code.
  void GenerateSharedConstructorCode(io::Printer* printer);
  // Generate the shared destructor code.
  void GenerateSharedDestructorCode(io::Printer* printer);
  // Generate the arena-specific destructor code.
  void GenerateArenaDestructorCode(io::Printer* printer);

  // Generate standard Message methods.
  void GenerateClear(io::Printer* printer);
  void GenerateOneofClear(io::Printer* printer);
  void GenerateMergeFromCodedStream(io::Printer* printer);
  void GenerateSerializeWithCachedSizes(io::Printer* printer);
  void GenerateSerializeWithCachedSizesToArray(io::Printer* printer);
  void GenerateSerializeWithCachedSizesBody(io::Printer* printer,
                                            bool to_array);
  void GenerateByteSize(io::Printer* printer);
  void GenerateMergeFrom(io::Printer* printer);
  void GenerateCopyFrom(io::Printer* printer);
  void GenerateSwap(io::Printer* printer);
  void GenerateIsInitialized(io::Printer* printer);

  // Helpers for GenerateSerializeWithCachedSizes().
  //
  // cached_has_bit_index maintains that:
  //   cached_has_bits = _has_bits_[cached_has_bit_index]
  // for cached_has_bit_index >= 0
  void GenerateSerializeOneField(io::Printer* printer,
                                 const FieldDescriptor* field, bool unbounded,
                                 int cached_has_bits_index);
  // Generate a switch statement to serialize 2+ fields from the same oneof.
  // Or, if fields.size() == 1, just call GenerateSerializeOneField().
  void GenerateSerializeOneofFields(
      io::Printer* printer, const std::vector<const FieldDescriptor*>& fields,
      bool to_array);
  void GenerateSerializeOneExtensionRange(
      io::Printer* printer, const Descriptor::ExtensionRange* range,
      bool unbounded);

  // Generates has_foo() functions and variables for singular field has-bits.
  void GenerateSingularFieldHasBits(const FieldDescriptor* field,
                                    Formatter format);
  // Generates has_foo() functions and variables for oneof field has-bits.
  void GenerateOneofHasBits(io::Printer* printer);
  // Generates has_foo_bar() functions for oneof members.
  void GenerateOneofMemberHasBits(const FieldDescriptor* field,
                                  const Formatter& format);
  // Generates the clear_foo() method for a field.
  void GenerateFieldClear(const FieldDescriptor* field, bool is_inline,
                          Formatter format);

  void GenerateConstructorBody(io::Printer* printer,
                               std::vector<bool> already_processed,
                               bool copy_constructor) const;

  size_t HasBitsSize() const;
  std::vector<uint32> RequiredFieldsBitMask() const;

  const Descriptor* descriptor_;
  int index_in_file_messages_;
  std::string classname_;
  Options options_;
  FieldGeneratorMap field_generators_;
  // optimized_order_ is the order we layout the message's fields in the
  // class. This is reused to initialize the fields in-order for cache
  // efficiency.
  //
  // optimized_order_ excludes oneof fields and weak fields.
  std::vector<const FieldDescriptor*> optimized_order_;
  std::vector<int> has_bit_indices_;
  int max_has_bit_index_;
  std::vector<const EnumGenerator*> enum_generators_;
  std::vector<const ExtensionGenerator*> extension_generators_;
  int num_required_fields_;
  int num_weak_fields_;
  // table_driven_ indicates the generated message uses table-driven parsing.
  bool table_driven_;

  std::unique_ptr<MessageLayoutHelper> message_layout_helper_;

  MessageSCCAnalyzer* scc_analyzer_;

  std::map<std::string, std::string> variables_;

  friend class FileGenerator;
  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageGenerator);
};

}  // namespace cpp
}  // namespace compiler
}  // namespace protobuf
}  // namespace google

#endif  // GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_H__


text:
package test

import (
	"bytes"
	"context"
	"encoding/json"
	"fmt"
	"io"
	"net"
	"net/http"
	"net/url"
	"path/filepath"
	"sync"
	"testing"
)

type HTTPRequestOpt func(req *http.Request)

func WithJSONBody(t *testing.T, body interface{}) HTTPRequestOpt {
	t.Helper()
	b, err := json.Marshal(body)
	if err != nil {
		t.Fatalf("WithJSONBody: %s", err)
	}
	return func(req *http.Request) {
		req.Body = io.NopCloser(bytes.NewBuffer(b))
	}
}

func WithQueryParams(qps map[string]string) HTTPRequestOpt {
	var vals url.Values = map[string][]string{}
	for k, v := range qps {
		vals.Set(k, v)
	}
	return func(req *http.Request) {
		req.URL.RawQuery = vals.Encode()
	}
}

func NewRequest(t *testing.T, method, path string, opts ...HTTPRequestOpt) *http.Request {
	t.Helper()
	req, err := http.NewRequest(method, "http://localhost"+path, nil)
	if err != nil {
		t.Fatalf("failed to make new HTTP request %v %v : %v", method, path, err)
	}
	for _, o := range opts {
		o(req)
	}
	return req
}

// ListenAndServe will listen on a random high-numbered port and attach the given router.
// Returns the base URL to send requests to. Call `cancel` to shutdown the server, which will block until it has closed.
func ListenAndServe(t *testing.T, router http.Handler, withTLS bool) (apiURL string, cancel func()) {
	listener, err := net.Listen("tcp", ":0")
	if err != nil {
		t.Fatalf("failed to listen: %s", err)
	}
	port := listener.Addr().(*net.TCPAddr).Port
	srv := http.Server{}

	var wg sync.WaitGroup
	wg.Add(1)
	go func() {
		defer wg.Done()
		srv.Handler = router
		var err error
		if withTLS {
			certFile := filepath.Join(t.TempDir(), "dendrite.cert")
			keyFile := filepath.Join(t.TempDir(), "dendrite.key")
			err = NewTLSKey(keyFile, certFile, 1024)
			if err != nil {
				t.Errorf("failed to make TLS key: %s", err)
				return
			}
			err = srv.ServeTLS(listener, certFile, keyFile)
		} else {
			err = srv.Serve(listener)
		}
		if err != nil && err != http.ErrServerClosed {
			t.Logf("Listen failed: %s", err)
		}
	}()
	s := ""
	if withTLS {
		s = "s"
	}
	return fmt.Sprintf("http%s://localhost:%d", s, port), func() {
		_ = srv.Shutdown(context.Background())
		wg.Wait()
	}
}


text:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace UVM
{
    public partial class PasswordDialog : Form
    {

        private string password;

        public PasswordDialog()
        {
            InitializeComponent();
        }

        public string Password { get => password; set => password = value; }

        private void CancelButton_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void OKButton_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void PasswordBox_TextChanged(object sender, EventArgs e)
        {
            Password = PasswordBox.Text;
        }

        private void PasswordDialog_KeyUp(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {

            }
        }
    }
}


text:
using System;
using System.Diagnostics;
using System.Windows.Controls;
using AerialForWindows.Services;
using NLog;

namespace AerialForWindows.Controllers {
    public class PrimayScreenOnlyController : MediaElementController {
        private static readonly ILogger _logger = LogManager.GetCurrentClassLogger();

        public PrimayScreenOnlyController(MovieManager movieManager, int screens) : base(movieManager, screens) { }

        public override void Start() {
            var primary = MediaElements[0];
            primary.Source = new Uri(MovieManager.GetRandomAssetUrl());
            _logger.Debug($"Playing media {primary.Source}");
        }

        protected override void OnMediaEnded(MediaElement mediaElement, int screen) {
            Debug.Assert(screen == 0);

            if (Settings.Instance.PlayInLoop) {
                _logger.Debug("Replaying media");
                mediaElement.Position = TimeSpan.Zero;
                mediaElement.Play();
            } else {
                _logger.Debug($"Playing new media {mediaElement.Source}");
                mediaElement.Source = new Uri(MovieManager.GetRandomAssetUrl());
            }
        }
    }
}


text:
package com.example.puremvc_appfacade.Runs.protocol;

/**
 * Created by dev_wang on 2017/1/23.
 */

public interface IFacade extends INotifier {

    void init(IController controller);

    void notifyObservers(INotification notification);

    void registerMediatorWithName(String name, Class cls);
    void removeMediatorWithName(String name);

    void registerViewModelWithName(String name, Class cls);
    void removeViewModelWithName(String name);

    IMediator getMediatorWithName(String name);
    IViewModel getViewModelWithName(String name);

    boolean hasMediator(String name);
    boolean hasViewModel(String name);

    void registerAllModules();
    void unRegisterAllModules();

    IModule getModule(String moduleName);

}


text:
Show your Present Working Directory, which is your current position in
the file system.

## Links

- [pwd on Wikipedia](http://en.wikipedia.org/wiki/Pwd)


text:
			</div><!-- content_wrapper -->

        </div><!-- main -->

    </div><!-- container -->

    <script>
    	var templateDir = "<?php bloginfo('template_directory') ?>";
	</script>

	<script src="<?php echo get_template_directory_uri(); ?>/app/components/jquery/dist/jquery.min.js"></script>
    <script src="<?php echo get_template_directory_uri(); ?>/app/components/foundation/js/foundation.min.js"></script>
    <script src="<?php echo get_template_directory_uri(); ?>/js/app.js"></script>

    <?php wp_footer(); ?>

	<?php global $NHP_Options; ?>
	<?php $NHP_Options->show('adsense-analytics');?>
    </body>
</html>


text:
require  File.expand_path( File.dirname(__FILE__)) + "/../test_helper.rb"
include Rengine
class WorkRequestTest < Test::Unit::TestCase
  def test_dedup
    WorkRequest.all.each {|w|w.destroy}
    NotRelational::Repository.pause
    work="$x+=1"
    start_time=Time.now.gmtime
    created=WorkRequest.create(work,nil,:start_time=>start_time)
    NotRelational::Repository.clear_session_cache
    NotRelational::Repository.pause
    WorkRequest.create(work,nil,:start_time => start_time+200)
    NotRelational::Repository.clear_session_cache
    NotRelational::Repository.pause
    found=WorkRequest.all
    assert_equal(1,found.length)
    assert_equal(work,found[0].work)
    assert_equal(start_time.to_i,found[0].next_execution.to_i)

    NotRelational::Repository.clear_session_cache
    NotRelational::Repository.pause
    WorkRequest.create(work,nil,:start_time=>start_time-200)
    NotRelational::Repository.clear_session_cache
    NotRelational::Repository.pause
    found=WorkRequest.all
    assert_equal(1,found.length)
    assert_equal(work,found[0].work)
    assert_equal(start_time.to_i-200,found[0].next_execution.to_i)

  end
end


text:
/*.sdvCheck{

    margin-right:10px;
}*/

#studiesDiv {
    margin-top: 5px;
    margin-bottom: 5px;
}

/*See: listSubjectDiscNote.jsp */
.downloadAllDNotes {
    margin-bottom:5px;
    margin-left:5px;

}

.listAllDNotes{
     margin-bottom:5px;

}
.subjDiscNoteTable{
    border: thin solid black;
}

.subjDiscNoteDivTitle{
   margin-bottom:5px;
}
/*See: signStudySubject.jsp */
.subjDiscNoteDiv {
    margin-bottom:5px;
    margin-top:5px;

}

/*See: listSubjectDiscNote.jsp */
.dnKey {
    margin-bottom:5px;
    padding: 0.5em;
    border: thin solid black;
}

.summaryBox{
    float:left;
    margin-bottom:5px;
    padding: 0.5em;
    border: thin solid black;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 15px;
    color: #4D4D4D;
}

/*See: chooseDownloadFormat.jsp */
#downloadDiv {
    margin:5px;
    padding: 0.5em;
    border: thin solid black;
}
.aka_revised_content{
    padding-left: 22px;
    padding-right: 36px;
    padding-top: 8px;
    padding-bottom: 18px;
    float:left;
/*width: 660px;*/
}

.aka_group_header{
    float:none;
    clear:both;
    margin-bottom: 0.6em;
}

.aka_revised_content_preview{
    padding-left: 22px;
    padding-right: 0px;
    padding-top: 8px;
    padding-bottom: 18px;

/*width: 660px;float:left;*/
}
.aka_font_general{
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    font-style: normal;
    font-weight: bold;
}

.aka_para{
    width: 50em;
}

.aka_green_highlight{
    color:#009966;
}

.aka_red_highlight{
    color:#ff0000;
}

.aka_err_message{
    border: 1px solid #c5c5c5;
    background: #ECECEC;
    width:450px;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    font-style: normal;
    font-weight: bold;
    color:  #ff0000;
/*color: #E46E16; */
}

.aka_exclaim_error{
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 2em;
    font-style: normal;
    font-weight: bold;
    color:  #ff0000;
}

.aka_exclaim_show{
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 2em;
    font-style: normal;
    font-weight: bold;
    color:  #006633;
}

.aka_input_error{
    border: 1px solid #ff0000;
}

.aka_input_show{
    border: 1px solid #006633;
}

.aka_group_show{
	background: #FFFF33;
	/* a butter color, tbh*/
    border: 1px solid green;
}

.aka_input_readonly{
	color: silver;
}

.aka_bodywidth{
    width:1024px;
    margin: 0 auto;
/* background-color: #CCCCCC*/
}

.aka_table_cell_left {
    padding: 0.2em;
    border-style: solid;
    border-top-width: 1px;
    border-left-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-top-color: #E6E6E6;
    vertical-align: top;
}

.aka_table_cell {
    padding: 0.2em;
    border-style: solid;
    border-top-width: 1px;
    border-left-width: 1px;
    border-right-width: 0;
    border-bottom-width: 0;
    border-left-color: #CCCCCC;
    border-top-color: #E6E6E6;
    vertical-align: top;
}

td .aka_revised {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 0.7em;
    color: #4D4D4D;
}

.text_block {
    width: 10em;
    float:left;
    text-align:right
}

.aka_text_block {
    width: 240px;
    float:left;
    text-align:right
}

.aka_text_block_shared {
    float:left;
    width:10em;
    white-space:normal;
    padding-right:1px
}

.aka_ques_block {
    width: 2em;
    float:left;
    text-align:left
}

.aka_header_border{
    border: thin solid #999999;
    padding-top: 3px;
    padding-left: 6px;
    padding-right: 6px;
    padding-bottom: 3px;
    vertical-align: top;
}

.headerBackground{
    background: #ECECEC;}

.aka_headerBackground{
    background: #ECECEC;}

.aka_stripes{
    background-color: #ECECEC;
}

.aka_light_stripes{
    background: #f1f1f1;
}

.padding_large{
    padding-left: 0.6em;
    padding-right: 0.6em;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
}

.aka_padding_large{
    padding-left: 0.6em;
    padding-right: 0.6em;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
}

.smallText {
    font-size: 0.8em;
}

.aka_smallText {
    font-size: 0.8em;
}

.aka_title_submit{
    margin-top: 0.6em;
}

.aka_date_input {
    width: 6em;}

.date_input {
    width: 6em;}

.sm_txt_input {
    width: 8em;
}

.aka_sm_txt_input {
    width: 9em;
}

.aka_form_table {
/* width: 90%;*/
    border:2px solid #b0b0b0;
    border-collapse: collapse;
    margin-bottom: 2em}

.aka_form_table_section_header {
/* width: 90%;*/
    border:2px solid #b0b0b0;
    border-collapse: collapse;
}

.cellBorders {
    border:2px solid #b0b0b0;
/* white-space: nowrap*/
}

.padding_norm{
    padding: 0.2em;
}

.aka_cellBorders {
/*#b0b0b0*/
    border:2px solid #b0b0b0;
    white-space: nowrap
}

.aka_cellBorders_dark {
/*#b0b0b0*/
    border:2px solid #b0b0b0;
    white-space: nowrap
}

.aka_borderTopHidden{
    border-top: hidden;
}

.aka_borderBotHidden{
    border-bottom: hidden;
}

.aka_borderHidden{
    border: hidden;
}

.aka_padding_norm{
    padding-left: 0.2em;
    padding-right:  0.2em;
    padding-top:  0.2em;
    padding-bottom:  0.2em;
}
/* //////////////////////////////////////// */

H1 { font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    color: #789EC5;
}

H2 { font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    color: #CCCCCC;
}

H3 { font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    color: #789EC5;
}

h4 { font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    color: #E46E16;
}

p { font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 15px;
    color: #4D4D4D;
}

li { font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 15px;
    color: #4D4D4D;
    list-style-image: url(../images/bullet2.gif);
}

td { font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 15px;
    color: #4D4D4D;
}

a:link, a:visited { color: #789EC5;
    text-decoration: none;
}

a:hover, a:active { color: #789EC5;
    text-decoration: underline;
}

.OpenClinica { color: #789EC5;
    font-weight: bold;
}

.background { background-image: url(../images/bgdots.gif);
    background-repeat: repeat-y;
    background-position: left;
}

.header { background-image: url(../images/header_BG.gif);
    background-repeat: repeat-x;
    background-position: top;
    background-color: #FFFFFF;
    height: 104px;
}

.disabled_header {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 60px;
    z-index: 4
}

.disabled_header img {
    width: 1000px;
    height: 65px;
}

.main_BG { background-image: url(../images/header_BG.gif);
    background-repeat: repeat-x;
    background-position: top;
    background-color: #FFFFFF;
}

.logo {position:absolute;
    left: 0px;
    top: 0px;
    width: 103px;
    height:62px;
    z-index: 2
}

.nav {
    background-image: url(../images/dots.gif);
    background-repeat: repeat-x;
    background-position: bottom;
    background-color: transparent;
    padding-top: 6px;
    padding-left: 136px;
    height: 68px;
}

.userbox {
    padding: 0px 18px 0px 18px;
    float: right;
}

.userboxtext { font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size:1em;
    /*font-size: 10px;
     line-height: 14px;*/
    color: #789EC5;
    text-align: left;
}

.box_T { background-image: url(../images/box_T.gif);
    background-repeat: repeat-x;
    background-position: top;
    background-color: #FFFFFF;
}

.box_L { background-image: url(../images/box_L.gif);
    background-repeat: repeat-y;
    background-position: left;
    background-color: transparent;
}

.box_R { background-image: url(../images/box_R.gif);
    background-repeat: repeat-y;
    background-position: right;
    background-color: transparent;
}

.box_B { background-image: url(../images/box_B.gif);
    background-repeat: repeat-x;
    background-position: bottom;
    background-color: transparent;
}

.box_TL { background-image: url(../images/box_TL.gif);
    background-repeat: no-repeat;
    background-position: top left;
    background-color: transparent;
}

.box_TR { background-image: url(../images/box_TR.gif);
    background-repeat: no-repeat;
    background-position: top right;
    background-color: transparent;
}

.box_BL { background-image: url(../images/box_BL.gif);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-color: transparent;
}

.box_BR { background-image: url(../images/box_BR.gif);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-color: transparent;
}

.textbox_center { padding-left: 11px;
    padding-right: 16px;
    padding-top: 7px;
    padding-bottom: 12px;
}

.userboxtext_center { padding-left: 11px;
    padding-right: 16px;
    padding-top: 7px;
}

.tablebox_center { padding-left: 1px;
    padding-right: 6px;
    padding-top: 1px;
    padding-bottom: 7px;
}

.navbox_center { padding-left: 4px;
    padding-right: 9px;
    padding-top: 3px;
    padding-bottom: 9px;
}

.alert {
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    font-style: normal;
    font-weight: bold;
    color: #E46E16;
}

.alertbox_center { padding-left: 11px;
    padding-right: 16px;
    padding-top: 4px;
    color: #E46E16;
}

.homebox_center { padding-left: 11px;
    padding-right: 16px;
    padding-top: 4px;
    height: 290px;
}

.logout { font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 10px;
    color: #789EC5;
    background-image: url(../images/bullet.gif);
    background-repeat: no-repeat;
    background-position: top left;
    padding-left: 12px;
    padding-right: 8px;
}

.breadcrumbs { padding-top: 10px;
    padding-right: 18px;
    padding-left: 18px;
    padding-bottom: 12px;
}

a.breadcrumb_completed:link, a.breadcrumb_completed:visited { font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    color: #789EC5;
    background-image: url(../images/breadcrumb_c.gif);
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 12px;
    padding-right: 12px;
    text-decoration: none;
}

a.breadcrumb_completed:hover, a.breadcrumb_completed:active { font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    color: #789EC5;
    background-image: url(../images/breadcrumb_c.gif);
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 12px;
    padding-right: 12px;
    text-decoration: underline;
}

.breadcrumb { font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    color: #CCCCCC;
    background-image: url(../images/breadcrumb.gif);
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 12px;
    padding-right: 12px;
}

.breadcrumb_active { font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    font-weight: bold;
    color: #E46E16;
    background-image: url(../images/breadcrumb_a.gif);
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 12px;
    padding-right: 12px;
}

.breadcrumb_completed_flat { font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    color: #789EC5;
    background-image: url(../images/breadcrumb_c.gif);
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 12px;
    padding-right: 12px;
}

.subnav_Submit { background-image: url(../images/subnav_R_Submit.gif);
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 3px;
    background-color: #7CB98F;
}

.subnav_Extract { background-image: url(../images/subnav_R_Extract.gif);
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 3px;
    background-color: #AF7CE2;
}

.subnav_Manage { background-image: url(../images/subnav_R_Manage.gif);
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 3px;
    background-color: #D4A718;
}

.subnav_Admin { background-image: url(../images/subnav_R_Admin.gif);
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 3px;
    background-color: #66CCCC;
}

.subnav_TechAdmin { background-image: url(../images/subnav_R_TechAdmin.gif);
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 3px;
    background-color: #CC0000;
}

.subnav_inactive { background-image: url(../images/subnav_R_i.gif);
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 3px;
    background-color: #D3D3D3;
}

.title_Submit { color: #7CB98F;
}

.title_Extract { color: #AF7CE2;
}

.title_Manage { color: #D4A718;
}

.title_Admin { color: #66CCCC;
}

.title_TechAdmin { color: #CC0000;
}

.table_title_Submit { font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    color: #7CB98F;
    padding-bottom: 6px;
}

.table_title_Extract { font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    color: #AF7CE2;
    padding-bottom: 6px;
}

.table_title_Manage { font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    color: #D4A718;
    padding-bottom: 6px;
}

.table_title_Admin { font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    color: #66CCCC;
    padding-bottom: 6px;
}

.table_title_TechAdmin { font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    color: #CC0000;
    padding-bottom: 6px;
}

.footer { background-image: url(../images/footer_BG.gif);
    background-repeat: repeat-x;
    background-position: bottom;
    vertical-align: bottom;
    padding-left: 30px;
    padding-bottom: 9px;
    line-height: 5px;
}

.sidebar { background-image: url(../images/dots.gif);
    background-repeat: repeat-x;
    background-position: top;
    width: 120px;
    padding-left: 12px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 18px;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 13px;
    color: #789EC5
}

.content { padding-left: 22px;
    padding-right: 36px;
    padding-top: 8px;
    padding-bottom: 18px;
    width: 615px;
}

.inactive { color: #CCCCCC;
}

.table_border {
    border-style: solid;
    border-top-width: 1px;
    border-left-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-top-color: #CCCCCC;
    border-left-color: #CCCCCC;
    border-right-color: #CCCCCC;
    border-bottom-color: #CCCCCC;
}

.table_header_row { padding-top: 3px;
    padding-left: 2px;
    padding-right: 1px;
    padding-bottom: 3px;
    border-style: solid;
    border-top-width: 0px;
    border-left-width: 1px;
    border-right-width: 0px;
    border-bottom-width: 1px;
    border-left-color: #CCCCCC;
    border-bottom-color: #CCCCCC;
    font-weight: bold;
    color: #666666;
    vertical-align: top;
}

.table_header_row_left { padding-top: 3px;
    padding-left: 6px;
    padding-right: 1px;
    padding-bottom: 3px;
    border-style: solid;
    border-top-width: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 1px;
    border-bottom-color: #CCCCCC;
    font-weight: bold;
    color: #666666;
    vertical-align: top;
}

.table_header_column { padding-top: 3px;
    padding-left: 6px;
    padding-right: 6px;
    padding-bottom: 3px;
    border-style: solid;
    border-top-width: 1px;
    border-left-width: 0px;
    border-right-width: 1px;
    border-bottom-width: 0px;
    border-right-color: #CCCCCC;
    border-top-color: #CCCCCC;
    font-weight: bold;
    color: #666666;
    vertical-align: top;
}

.table_header_column_top { padding-top: 3px;
    padding-left: 6px;
    padding-right: 6px;
    padding-bottom: 3px;
    border-style: solid;
    border-top-width: 0px;
    border-left-width: 0px;
    border-right-width: 1px;
    border-bottom-width: 0px;
    border-right-color: #CCCCCC;
    font-weight: bold;
    color: #666666;
    vertical-align: top;
}

.table_cell {
    padding: 0.2em;
    border-style: solid;
    border-top-width: 1px;
    border-left-width: 1px;
    border-right-width: 0;
    border-bottom-width: 0;
    border-left-color: #CCCCCC;
    border-top-color: #E6E6E6;
    vertical-align: top;
}

.table_cell_left {/*
 padding-top: 3px;
	padding-left: 6px;
	padding-right: 6px;
	padding-bottom: 3px;
*/
    padding: 0.2em;
    border-style: solid;
    border-top-width: 1px;
    border-left-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-top-color: #E6E6E6;
    vertical-align: top;
}

.table_cell_top {
    padding: 0.2em;
    border-style: solid;
    border-top-width: 0px;
    border-left-width: 1px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-color: #CCCCCC;
    vertical-align: top;
}

.table_cell_noborder {
    padding: 0.2em;
    vertical-align: top;
}

.table_cell_nopadding { padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    border-style: solid;
    border-top-width: 1px;
    border-left-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-color: #CCCCCC;
    border-top-color: #E6E6E6;
    vertical-align: top;
}

.table_divider { border-style: solid;
    border-top-width: 1px;
    border-left-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 1px;
    border-left-color: #CCCCCC;
    border-bottom-color: #CCCCCC;
    font-weight: bold;
    color: #666666;
    vertical-align: top;
    line-height: 8px;
}

.table_tools { padding-top: 4px;
    padding-bottom: 6px;
    vertical-align: top;
}

.table_actions { background-image: url(../images/table_actions_BG.gif);
    background-repeat: repeat-x;
    background-position: bottom;
    padding-top: 3px;
    padding-left: 6px;
    padding-right: 6px;
    vertical-align: top;
}

.homeboxes { width: 200px;
    padding-right: 10px;
    vertical-align: top;
}

.homebox_title { font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #789EC5;
}

.homebox_bullets { font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 11px;
    background-image: url(../images/bullet.gif);
    background-repeat: no-repeat;
    background-position: top left;
    padding-left: 12px;
    padding-right: 5px;
}

.button { background-color:transparent;
    border-width: 0px;
    background-image: url(../images/button_BG.gif);
    background-repeat: no-repeat;
    background-position: bottom;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 11px;
    color: #FFFFFF;
    font-weight: bold;
    width: 80px;
    height: 17px;
    margin-top: 6px;
    margin-right: 10px;
}

.button_div { background-color:transparent;
    border-width: 0px;
    background-image: url(../images/button_BG.gif);
    background-repeat: no-repeat;
    background-position: bottom;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 18px;
    color: #FFFFFF;
    font-weight: bold;
    width: 80px;
    height: 17px;
    margin-top: 6px;
    margin-right: 10px;
}

.loginbutton { background-color:transparent;
    border-width: 0px;
    background-image: url(../images/button_BG.gif);
    background-repeat: no-repeat;
    background-position: bottom;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 11px;
    color: #FFFFFF;
    font-weight: bold;
    width: 80px;
    height: 17px;
    margin-right: 10px;
}

.button_search_dis { background-color:transparent;
    border-width: 0px;
    background-image: url(../images/button_Search_BG_dis.gif);
    background-repeat: no-repeat;
    background-position: bottom;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 11px;
    color: #E6E6E6;
    font-weight: bold;
    width: 37px;
    height: 17px;
    margin-top: 2px;
    margin-left: 3px;
}

.button_search { background-color:transparent;
    border-width: 0px;
    background-image: url(../images/button_Search_BG.gif);
    background-repeat: no-repeat;
    background-position: bottom;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 11px;
    color: #FFFFFF;
    font-weight: bold;
    width: 37px;
    height: 17px;
    margin-top: 2px;
    margin-left: 3px;
}

.button_remove {
    background-color:transparent;
    border-width: 0px;
    background-image: url(../images/bt_Remove.gif);
    background-repeat: no-repeat;
    background-position: bottom;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 11px;
    color: #FFFFFF;
    font-weight: bold;
    width: 24px;
    height: 15px;
    /*margin-top: 2px;
   margin-left: 3px;*/
}

.button_medium { background-color:transparent;
    border-width: 0px;
    background-image: url(../images/button_medium_BG.gif);
    background-repeat: no-repeat;
    background-position: bottom;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 11px;
    color: #FFFFFF;
    font-weight: bold;
    width: 120px;
    height: 17px;
    margin-top: 6px;
    margin-right: 10px;
}

.button_long { background-color:transparent;
    border-width: 0px;
    background-image: url(../images/button_long_BG.gif);
    background-repeat: no-repeat;
    background-position: bottom;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 11px;
    color: #FFFFFF;
    font-weight: bold;
    width: 180px;
    height: 17px;
    margin-top: 6px;
    margin-right: 10px;
}

.button_xlong { background-color:transparent;
    border-width: 0px;
    background-image: url(../images/button_xlong_BG.gif);
    background-repeat: no-repeat;
    background-position: bottom;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 11px;
    color: #FFFFFF;
    font-weight: bold;
    width: 220px;
    height: 17px;
    margin-top: 6px;
    margin-right: 10px;
}

.formlabel { text-align: right;
    vertical-align: top;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 4px;
}

.formfield {font-family: Tahoma Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #4D4D4D;
}

.formfieldXS { font-family: Tahoma Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #4D4D4D;
    background-color: white;
    border-width: 0px;
    width: 45px;
    margin-left: 4px;
    margin-right: 9px;
    margin-top: 1px;
    margin-bottom: 7px;
}

.formfieldXS_BG { background-image: url(../images/formfieldXS_BG.gif);
    background-repeat: no-repeat;
    width: 57px;
    height: 26px;
    margin-bottom: 6px;
}

.formfieldS { font-family: Tahoma Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #4D4D4D;
    background-color: white;
    border-width: 0px;
    width: 95px;
    margin-left: 4px;
    margin-right: 9px;
    margin-top: 1px;
    margin-bottom: 7px;
}

.formfieldS_BG { background-image: url(../images/formfieldS_BG.gif);
    background-repeat: no-repeat;
    width: 107px;
    height: 26px;
    margin-bottom: 6px;
}

.formfieldM { font-family: Tahoma Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #4D4D4D;
    background-color: white;
    border-width: 0px;
    width: 145px;
    margin-left: 4px;
    margin-right: 9px;
    margin-top: 1px;
    margin-bottom: 7px;
}

.formfieldM_BG { background-image: url(../images/formfieldM_BG.gif);
    background-repeat: no-repeat;
    width: 157px;
    height: 26px;
    margin-bottom: 6px;
}
.formfieldL { font-family: Tahoma Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #4D4D4D;
    background-color: white;
    border-width: 0;
    width: 195px;
    margin-left: 4px;
    margin-right: 9px;
    margin-top: 1px;
    margin-bottom: 7px;
}

.formfieldL_BG { background-image: url(../images/formfieldL_BG.gif);
    background-repeat: no-repeat;
    width: 207px;
    height: 26px;
    margin-bottom: 6px;
}

.formfieldXL { font-family: Tahoma Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #4D4D4D;
    background-color: white;
    border-width: 0px;
    width: 245px;
    margin-left: 4px;
    margin-right: 9px;
    margin-top: 1px;
    margin-bottom: 7px;
}

.formfieldXL_BG { background-image: url(../images/formfieldXL_BG.gif);
    background-repeat: no-repeat;
    width: 257px;
    height: 26px;
    margin-bottom: 6px;
}

.formtextareaL4 { font-family: Tahoma Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #4D4D4D;
    background-color: white;
    border-width: 0px;
    width: 195px;
    height: 66px;
    margin-left: 4px;
    margin-right: 9px;
    margin-top: 1px;
    margin-bottom: 7px;
}

.formtextareaL4_BG { background-image: url(../images/formtextareaL4_BG.gif);
    background-repeat: no-repeat;
    width: 207px;
    height: 74px;
    margin-bottom: 6px;
}

.formtextareaXL4 { font-family: Tahoma Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #4D4D4D;
    background-color: white;
    border-width: 0px;
    width: 245px;
    height: 66px;
    margin-left: 4px;
    margin-right: 9px;
    margin-top: 1px;
    margin-bottom: 7px;
}

.formtextareaXL4_BG { background-image: url(../images/formtextareaXL4_BG.gif);
    background-repeat: no-repeat;
    width: 257px;
    height: 74px;
    margin-bottom: 6px;
}

.loginbox { font-family: Tahoma Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #4D4D4D;
    background-color: white;
    border-width: 0px;
    width: 105px;
    margin-left: 4px;
    margin-right: 9px;
    margin-top: 1px;
    margin-bottom: 7px;
}

.loginbox_BG { background-image: url(../images/loginbox_BG.gif);
    background-repeat: no-repeat;
    width: 117px;
    height: 26px;
    margin-bottom: 6px;
}

.formfieldFile_BG { background-image: url(../images/formfieldM_BG.gif);
    background-repeat: no-repeat;
    width: 162px;
    height: 26px;
    margin-bottom: 6px;
}

.vline { background-image: url(../images/leftbar_vline.gif);
    background-repeat: repeat-y;
    padding-top: 6px;
    padding-left: 3px;
}

.vline_B { background-image: url(../images/leftbar_vline.gif);
    background-repeat: no-repeat;
    background-position: top-right;
    padding-top: 6px;
    padding-left: 3px;
}

.leftmenu { padding-top: 6px;
}

.tab_BG { font-weight: bold;
    background-image: url(../images/tab_BG.gif);
    background-repeat: repeat-x;
    background-position: top;
    background-color: #EBEBEB;
    height: 23px;
}

.tab_L { background-image: url(../images/tab_L.gif);
    background-repeat: no-repeat;
    background-position: top left;
    padding-left: 18px;
    height: 23px;
}

.tab_R { background-image: url(../images/tab_R.gif);
    background-repeat: no-repeat;
    background-position: top right;
    padding-right: 23px;
    height: 23px;
}

.tab_BG_h { font-weight: bold;
    background-image: url(../images/tab_BG_h.gif);
    background-repeat: repeat-x;
    background-position: top;
    background-color: #FFFFFF;
    height: 23px;
}
/* BWP:  I reduced the padding by half here, from 18px to 9px */
.tab_L_h { background-image: url(../images/tab_L_h.gif);
    background-repeat: no-repeat;
    background-position: top left;
    padding-left: 9px;
    height: 23px;
}

.tab_R_h { background-image: url(../images/tab_R_h.gif);
    background-repeat: no-repeat;
    background-position: top right;
    padding-right: 23px;
    height: 23px;
}

.ViewSubjectsPopup { background-color: #FFFFE5;
}

.tab_BG { font-weight: bold;
    background-image: url(../images/tab_BG.gif);
    background-repeat: repeat-x;
    background-position: top;
    background-color: #EBEBEB;
    height: 23px;
}

.tab_L { background-image: url(../images/tab_L.gif);
    background-repeat: no-repeat;
    background-position: top left;
    padding-left: 18px;
    height: 23px;
}

.tab_R { background-image: url(../images/tab_R.gif);
    background-repeat: no-repeat;
    background-position: top right;
    padding-right: 23px;
    height: 23px;
    text-align: center;
}

.tab_BG_h { font-weight: bold;
    background-image: url(../images/tab_BG_h.gif);
    background-repeat: repeat-x;
    background-position: top;
    background-color: #FFFFFF;
    height: 23px;
}

.tab_L_h { background-image: url(../images/tab_L_h.gif);
    background-repeat: no-repeat;
    background-position: top left;
    padding-left: 18px;
    height: 23px;
}

.tab_R_h { background-image: url(../images/tab_R_h.gif);
    background-repeat: no-repeat;
    background-position: top right;
    padding-right: 23px;
    height: 23px;
    text-align: center;
}

.tabtext { line-height: 22px;
    font-weight: bold;
    color: #000000;
}

.tab_BG { font-weight: bold;
	background-image: url(../images/tab_BG.gif);
	background-repeat: repeat-x;
	background-position: top;
	background-color: #EBEBEB;
	height: 23px;
	}
 /* BWP: I reduced padding-left by 9 px */
.tab_L { background-image: url(../images/tab_L.gif);
	background-repeat: no-repeat;
	background-position: top left;
	padding-left: 9px;
	height: 23px;
	}
/* BWP: I reduced padding-right by  14px */
.tab_R { background-image: url(../images/tab_R.gif);
	background-repeat: no-repeat;
	background-position: top right;
	padding-right: 23px;
	height: 23px;
	text-align: center;
	}

.tab_BG_h { font-weight: bold;
	background-image: url(../images/tab_BG_h.gif);
	background-repeat: repeat-x;
	background-position: top;
	background-color: #FFFFFF;
	height: 23px;
	}
/* BWP: I reduced padding-left by 9 px */
.tab_L_h { background-image: url(../images/tab_L_h.gif);
	background-repeat: no-repeat;
	background-position: top left;
	padding-left: 9px;
	height: 23px;
	}
/* BWP: I reduced padding-right by 14 px */
.tab_R_h { background-image: url(../images/tab_R_h.gif);
	background-repeat: no-repeat;
	background-position: top right;
	padding-right: 9px;
	height: 23px;
	text-align: center;
	}

.tabtext { line-height: 22px;
	font-weight: bold;
	color: #000000;
	}

.table_header_row_shaded { padding-top: 3px;
	padding-left: 6px;
	padding-right: 6px;
	padding-bottom: 3px;
	border-style: solid;
	border-top-width: 0px;
	border-left-width: 1px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	font-weight: bold;
	color: #666666;
	vertical-align: top;
	background-color: #F5F5F5;
	}

.table_header_row_shaded_left { padding-top: 3px;
	padding-left: 6px;
	padding-right: 6px;
	padding-bottom: 3px;
	border-style: solid;
	border-top-width: 0px;
	border-left-width: 2px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	font-weight: bold;
	color: #666666;
	vertical-align: top;
	background-color: #F5F5F5;
	}

.table_cell_shaded { padding-top: 3px;
	padding-left: 6px;
	padding-right: 6px;
	padding-bottom: 3px;
	border-style: solid;
	border-top-width: 1px;
	border-left-width: 1px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-color: #CCCCCC;
	border-top-color: #E6E6E6;
	vertical-align: top;
	background-color: #F5F5F5;
	}

.table_cell_shaded_left { padding-top: 3px;
	padding-left: 6px;
	padding-right: 6px;
	padding-bottom: 3px;
	border-style: solid;
	border-top-width: 1px;
	border-left-width: 2px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-color: #CCCCCC;
	border-top-color: #E6E6E6;
	vertical-align: top;
	background-color: #F5F5F5;
	}

.sidebar_tab { background-image: url(../images/sidebar_tab.gif);
	background-repeat: no-repeat;
	background-position: top right;
	border-style: solid;
	border-width: 0px 0px 1px 0px;
	border-color: #B2B2B2;
	width: 160px;
	padding-top: 4px;
	padding-left: 6px;
	padding-right: 8px;
	padding-bottom: 4px;
	background-color: #FFFFFF
	}

.sidebar_tab_content { padding-top: 8px;
	padding-left: 2px;
	padding-bottom: 10px;
	}

.sidebar { background-image: url(../images/dots.gif);
	background-repeat: repeat-x;
	background-position: top;
	width: 160px;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 8px;
	padding-bottom: 18px;
	font-family: Tahoma, Arial, Helvetica, Sans-Serif;
	font-size: 11px;
	line-height: 13px;
	color: #789EC5
	}

.background { background-image: url(../images/bgdots.gif);
	background-repeat: repeat-y;
	background-position: left;
	}

.workflowBox { border-style: solid;
	border-color: #B4B4B2;
	border-width: 0px 0px 0px 1px;
	}

.workflowBox_T { background-image: url(../images/workflowBox_T.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	height: 30px;
	padding-top: 5px;
	}

.workflow_tab { background-image: url(../images/sidebar_tab.gif);
	background-repeat: no-repeat;
	background-position: top right;
	width: 140px;
	padding-top: 6px;
	padding-left: 6px;
	padding-right: 8px;
	padding-bottom: 4px;
	background-color: #FFFFFF
	}

.workflowBox_center { padding: 8px 30px 16px 16px;
	}

.workflowBox_B { padding-bottom: 4px;
	}

.tooltip {

	width:170px;
	font-size:11px;
	color:black;
	background-color: #FFFFE5;
	border-color:gray;
	margin-right:auto;

}
.tooltip .label {
	color:black;
	font-family:Tahoma,Arial,Helvetica,Sans-Serif;
	font-size:11px;
	border-color:gray;
	width:5px;

}
.tooltip .header1 {
	color:black;
	font-family:Tahoma,Arial,Helvetica,Sans-Serif;
	font-size:11px;
	font-weight:bold;
	height:30px;
	margin-right:auto;

}
.tooltip.tableborder{
	border-style:solid;
}

.tooltip .borderlabel {
	color:black;
	font-family:Tahoma,Arial,Helvetica,Sans-Serif;
	font-size:11px;
	border-color:gray;
	width:10px;
	border-color:gray;
	border-bottom:dotted;
	border-bottom-width:thin;
	border-bottom-color:gray;
}
.tooltip .note {
	color:black;

	font-family:Tahoma,Arial,Helvetica,Sans-Serif;
	font-size:11px;
	border-color:gray;

}

.table_header_row_shaded { padding-top: 3px;
    padding-left: 6px;
    padding-right: 6px;
    padding-bottom: 3px;
    border-style: solid;
    border-top-width: 0px;
    border-left-width: 1px;
    border-right-width: 0px;
    border-bottom-width: 1px;
    border-left-color: #CCCCCC;
    border-bottom-color: #CCCCCC;
    font-weight: bold;
    color: #666666;
    vertical-align: top;
    background-color: #F5F5F5;
}

.table_header_row_shaded_left { padding-top: 3px;
    padding-left: 6px;
    padding-right: 6px;
    padding-bottom: 3px;
    border-style: solid;
    border-top-width: 0px;
    border-left-width: 2px;
    border-right-width: 0px;
    border-bottom-width: 1px;
    border-left-color: #CCCCCC;
    border-bottom-color: #CCCCCC;
    font-weight: bold;
    color: #666666;
    vertical-align: top;
    background-color: #F5F5F5;
}

.table_cell_shaded {
    padding: 0.2em;
    border-style: solid;
    border-top-width: 1px;
    border-left-width: 1px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-color: #CCCCCC;
    border-top-color: #E6E6E6;
    vertical-align: top;
    background-color: #F5F5F5;
}

.table_cell_shaded_left {
    padding: 0.2em;
    border-style: solid;
    border-top-width: 1px;
    border-left-width: 2px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-color: #CCCCCC;
    border-top-color: #E6E6E6;
    vertical-align: top;
    background-color: #F5F5F5;
}

.sidebar_tab { background-image: url(../images/sidebar_tab.gif);
    background-repeat: no-repeat;
    background-position: top right;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #B2B2B2;
    width: 160px;
    padding-top: 4px;
/*padding-top: 6px;*/
    padding-left: 6px;
    padding-right: 8px;
    padding-bottom: 4px;
    background-color: #FFFFFF
}

.sidebar_tab_content { padding-top: 8px;
    padding-left: 2px;
    padding-bottom: 10px;
}

.sidebar { background-image: url(../images/dots.gif);
    background-repeat: repeat-x;
    background-position: top;
    width: 160px;
    padding-left: 3px;
    padding-right: 0px;
    padding-top: 8px;
    padding-bottom: 18px;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    line-height: 13px;
    color: #789EC5
}

.background { background-image: url(../images/bgdots.gif);
    background-repeat: repeat-y;
    background-position: left;
}

.workflowBox { border-style: solid;
    border-color: #B4B4B2;
    border-width: 0px 0px 0px 1px;
}

.workflowBox_T { background-image: url(../images/workflowBox_T.gif);
    background-repeat: repeat-x;
    background-position: bottom;
    height: 30px;
    padding-top: 5px;
}

.workflow_tab { background-image: url(../images/sidebar_tab.gif);
    background-repeat: no-repeat;
    background-position: top right;
    width: 140px;
    padding-top: 6px;
    padding-left: 6px;
    padding-right: 8px;
    padding-bottom: 4px;
    background-color: #FFFFFF
}

.workflowBox_center { padding: 8px 30px 16px 16px;
}

.workflowBox_B { padding-bottom: 4px;
}

.changedField
{
    background-color: #FFFF99;
}

.formfieldM_BG_noMargin { background-image: url(../images/formfieldM_BG.gif);
    background-repeat: no-repeat;
    width: 157px;
    height: 26px;
}

body { margin: 0px; }

.userbox { margin-top: 6px; }

#login { padding-left: 8px; }

.title_submit { color: #7CB98F; }

.title_extract { color: #AF7CE2; }

.title_manage { color: #D4A718; }

.title_admin { color: #66CCCC; }

.infoside_table {
    table-layout:fixed;
    overflow:hidden;
    word-wrap:break-word;
}

#mbox{
    background-color:#eeeeee;
    padding:15px;
    border:2px outset #666;
}
#mbm{
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 11px;
    font-style: normal;
    font-weight: bold;
    float:right;
    padding-bottom:5px;
}
#ol{
    background-image: url(overlay.png);
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="overlay.png", sizingMethod="scale");
}
#box {
    display:none
}

* html
#ol{
    background-image: url(overlay.png);
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="overlay.png", sizingMethod="scale");
}

container
{
    width:100%;
    margin:0px;
    height:81px;
    background-image:url(../images/main_BG.gif);
    background-repeat: repeat-x;
}

akaza_logo{
    margin-left: 0px;
    width: 359;
    height:81px;
    float: left;
}

/* initially created for creating new or child dn box */
.dnBoxCol1 { float:left; width:120; }
.dnBoxCol1-1 { float:left; width:120; margin-top:10; }
.dnBoxCol2 { margin: 0 0 0 120; /* 0 right 0 left*/	width: 260; }
.dnBoxCol2-1 { margin: 0 0 0 120; width: 260; margin-top:10 }
.dnBoxCol3 { float: right; }
.icon_dnBox { width: 23px; height: 13px; border: 0px; }
.dnBoxText {
	font-family: Tahoma Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #4D4D4D;
}

table.summaryTable{
    border-top:1px #000000 solid;
    border-left:1px #000000 solid;
}

.summaryTable tbody tr td{
    border-right:1px #000000 solid;
    border-bottom:1px #000000 solid;
}

div#sumBox { -moz-border-radius: 3px 3px 3px 3px;
	border: 1px solid #b2b2b2;
	display: inline-block;
	margin-bottom: 18px;
	margin-top: 6px;
	-moz-box-shadow: 4px 4px 4px #CACACA;
	-webkit-box-shadow: 4px 4px 4px #CACACA;
	box-shadow: 4px 4px 4px #CACACA;
	}
	}

div#sumBox table { border-style: none; }

div#sumBox table td { border-style: solid;
	border-width: 1px 0px 0px 1px;
	border-color: #E6E6E6;
	}

div#sumBox table tr td:first-child { border-left-width: 0px;
	border-right-width: 1px;
	border-right-color: #cccccc;
	background-color: #fafafa;
	}

div#sumBox table tr:first-child td { border-top-width: 0px;
	border-bottom-width: 1px;
	border-bottom-color: #cccccc;
	background-color: #efefef;
	}

/* CSS Document */

/* general style propertyies */

.header { height: 73px; }

.oc_nav {
	 margin-left: 12px;
	 width: 875px;
	 background-image: url(../images/dots.gif);
     background-repeat: repeat-x;
     background-position: bottom;
     background-color: transparent;
     padding-top: 6px;
     padding-left: 136px;
     height: 68px;
     }

#StudyInfo { float: left; color: #789EC5; }

#UserInfo { float: right; color: #789EC5; padding-right: 8px;}

.navbox_center { padding: 1px 6px 10px 1px; }

#bt_Home, #bt_SubmitData, #bt_ExtractData, #bt_ManageStudy, .nav_bt, .subnav { background: url(../images/nav_bt_TL.gif) no-repeat top left #789EC5;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1em;
    line-height: 1.4em;
    margin: 3px 3px 0px 3px;
    padding: 0px;
    }

#bt_Home div, #bt_SubmitData div, #bt_ExtractData div, #bt_ManageStudy div { background: url(../images/nav_bt_TR.gif) no-repeat top right transparent;
    padding: 0px;
    }

#bt_Home div div, #bt_SubmitData div div, #bt_ExtractData div div, #bt_ManageStudy div div { background: url(../images/nav_bt_BR.gif) no-repeat bottom right transparent;
    padding: 0px;
    }

#bt_Home div div div, #bt_SubmitData div div div, #bt_ExtractData div div div, #bt_ManageStudy div div div { background: url(../images/nav_bt_BL.gif) no-repeat bottom left transparent;
    padding: 3px 12px 4px 12px;
    }

.nav_bt a:link, .nav_bt a:visited, .nav_bt_current a:link, .nav_bt_current a:visited, .subnav a:link, .subnav a:visited { color: #FFFFFF;
    text-decoration: none;
    }

.nav_bt a:hover, .nav_bt_current a:hover, .subnav a:hover { color: #FFFF99;
    text-decoration: none;
    }

#bt_Home td, #bt_Home li { color: #FFFFFF; background-color: #789EC5; }

#bt_Home ul, #bt_Home li { display: inline; float: left; margin: 0px; padding: 0px; list-style-item: none; }

#bt_Home form { margin: 0px; }

.navSearch { width: 120px; height: 13px; font-size: 10px; line-height: 13px; background-color: #BCCFE2; border-width: 1px; border-color: #BCCFE2; margin-left: 4px;}

.navSearchButton { width: 20px; height: 15px; font-size: 10px; background: url(../images/bt_navSearch.gif) no-repeat top left; border-style: none; color: #FFFFFF; font-size: 9px; font-weight: bold; line-height: 10px; padding: 0px; margin-left: 2px; }

.dropdown {
	position: absolute;
    visibility: hidden;
    z-index: 4;
    width: 423px;
    top: 124px;
    float: left;
    background-image: url(../images/spacer.gif);
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 13px;
    z-index: 6;
    }

.dropdown_BG { background: url(../images/dropdown_BG.png) no-repeat bottom left; margin-top: 10px; padding: 0px 10px 9px 2px;}

.taskGroup { background-color: #DFE3E6; padding: 3px 6px 4px 6px; font-weight: bold; }

.taskGroup a { color: #666666; }

.taskLeftColumn { float: left; width: 206px; }

.taskRightColumn { float: right; width: 205px; }

.taskLink { padding: 3px 10px 4px 10px; font-weight: bold; }

.footer_bottom { /*background-image: url(../images/footer_BG.gif);
    background-repeat: repeat-x;
    background-position: bottom;*/
    vertical-align: top;
    padding-right: 10px;
	padding-top: 10px;
	padding-left: 10px;
    line-height: 15px;
	text-align:left;
}
.footer_table{

min-width: 700px;
    overflow: hidden;

}
.footer_table  {
table-layout: fixed;
width:100%;
min-width: 700px;
    overflow: hidden;
background-color: transparent;
}

#ft_tooltip {
	   position:absolute;
    	display:none;
		width:40%;
		background-color:#E2E7FF;
		color:#000044;
		border:2px solid #003099;
		font-family:Verdana,Geneva,sans-serif;
		padding:3px;
		font-size:11px;
		-moz-box-shadow: 2px 2px 11px #C0C0C0;
		-webkit-box-shadow: 2px 2px 11px #C0C0C0;
	}


text:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#ececec"
    android:gravity="center"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".Completing" >

    <TextView
        android:id="@+id/textView1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="-5dp"
        android:gravity="center"
        android:text="Completing the Poster"
        android:textSize="32sp"
        android:textColor="#333"/>

    <LinearLayout
        android:id="@+id/ll1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_below="@+id/textView1">

        <ImageView
            android:id="@+id/imageloc"
            android:layout_width="30dp"
            android:layout_height="30dp"
            android:src="@drawable/map21"
            tools:ignore="ContentDescription" />

        <TextView
            android:id="@+id/loc"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="2dp"
            android:gravity="center"
            android:paddingLeft="1dp"
            android:text="CC3"
            android:textColor="#333"
            android:textAppearance="?android:attr/textAppearanceMedium" />

        <ImageView
            android:id="@+id/imagetime"
            android:layout_width="30dp"
            android:layout_height="30dp"
            android:layout_marginLeft="40dp"
            android:src="@drawable/clock"
            tools:ignore="ContentDescription" />

        <TextView
            android:id="@+id/time"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="2dp"
            android:gravity="center"
            android:paddingLeft="5dp"
            android:textColor="#333"
            android:text="11:00"
            android:textAppearance="?android:attr/textAppearanceMedium" />
    </LinearLayout>

    <CheckBox
        android:id="@+id/checkBox1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@+id/ll1"
        android:paddingTop="2dp"
        android:layout_centerHorizontal="true"
        android:text="Favourite"
        android:textColor="#333"
        android:paddingBottom="5dp" />
       <ScrollView
        android:id="@+id/sv1"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_above="@+id/imageView1"
        android:layout_below="@+id/checkBox1" >

        <RelativeLayout
            android:id="@+id/rl2"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content" >

            <TextView
                android:id="@+id/textView3"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:drawablePadding="10dp"
                android:gravity="center"
                android:text="About"
                android:textColor="#333"
                android:textSize="32sp" />

            <TextView
                android:id="@+id/textView2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@+id/textView3"
                android:padding="10dp"
                android:text="Show you artistic skill in this competition of Fine Arts...
"
                android:textColor="#333"
                android:textSize="20sp"
                tools:ignore="ObsoleteLayoutParam" />

            <TextView
                android:id="@+id/textView8"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_below="@+id/textView2"
                android:gravity="center"
                android:text="Organisers"
                android:textColor="#333"
                android:textSize="32sp" />

            <TextView
                android:id="@+id/textView9"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_below="@+id/textView8"
                android:clickable="true"
                android:layout_centerHorizontal="true"
                android:drawableLeft="@drawable/call"
                android:text="Satyaprakash: 8960276707"
                android:textColor="#333"
                android:textSize="20sp" />
        </RelativeLayout>
    </ScrollView>

            <ImageView
                android:id="@+id/imageView3"
                android:layout_width="80dp"
                android:layout_height="80dp"
                android:layout_alignParentBottom="true"
                android:layout_margin="0dp"
                android:layout_toRightOf="@+id/checkBox1"
                android:paddingTop="30dp"
                android:src="@drawable/map1"
                tools:ignore="ContentDescription" />

            <ImageView
                android:id="@+id/imageView1"
                android:layout_width="60dp"
                android:layout_height="60dp"
                android:layout_alignBottom="@+id/imageView3"
                android:layout_toLeftOf="@+id/checkBox1"
                android:paddingTop="15dp"
                android:src="@drawable/clock4"
                tools:ignore="ContentDescription" />

</RelativeLayout>


text:
package com.twosigma.beakerx.widget.floats;

import com.twosigma.beakerx.KernelTest;
import com.twosigma.beakerx.kernel.KernelManager;
import com.twosigma.beakerx.widget.BoundedFloatWidget;
import com.twosigma.beakerx.widget.FloatSlider;
import org.assertj.core.api.Assertions;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import java.security.NoSuchAlgorithmException;

import static com.twosigma.beakerx.widget.TestWidgetUtils.findValueForProperty;
import static com.twosigma.beakerx.widget.TestWidgetUtils.verifyMsgForProperty;
import static com.twosigma.beakerx.widget.TestWidgetUtils.verifyOpenCommMsg;

public class FloatSliderTest {

  private KernelTest groovyKernel;

  @Before
  public void setUp() throws Exception {
    groovyKernel = new KernelTest();
    KernelManager.register(groovyKernel);
  }

  @After
  public void tearDown() throws Exception {
    KernelManager.register(null);
  }

  @Test
  public void shouldSendCommOpenWhenCreate() throws Exception {
    //given
    //when
    new FloatSlider();
    //then
    verifyOpenCommMsg(groovyKernel.getPublishedMessages(), FloatSlider.MODEL_NAME_VALUE, FloatSlider.VIEW_NAME_VALUE);
  }

  @Test
  public void shouldSendCommMsgWhenValueChange() throws Exception {
    //given
    FloatSlider floatSlider = floatSlider();
    //when
    floatSlider.setValue(11.1);
    //then
    verifyMsgForProperty(groovyKernel, FloatSlider.VALUE, 11.1);
  }

  @Test
  public void shouldSendCommMsgWhenStepChange() throws Exception {
    //given
    FloatSlider floatSlider = floatSlider();
    //when
    floatSlider.setStep(12.1);
    //then
    verifyMsgForProperty(groovyKernel, BoundedFloatWidget.STEP, 12.1);
  }

  @Test
  public void shouldSendCommMsgWhenMaxChange() throws Exception {
    //given
    FloatSlider floatSlider = floatSlider();
    //when
    floatSlider.setMax(122.3);
    //then
    verifyMsgForProperty(groovyKernel, BoundedFloatWidget.MAX, 122.3);
  }

  @Test
  public void shouldSendCommMsgWhenMinChange() throws Exception {
    //given
    FloatSlider floatSlider = floatSlider();
    //when
    floatSlider.setMin(10.2);
    //then
    Double valueMin = findValueForProperty(groovyKernel, BoundedFloatWidget.MIN, Double.class);
    Assertions.assertThat(valueMin).isEqualTo(10.2);
  }

  @Test
  public void shouldSendCommMsgWhenOrientationChange() throws Exception {
    //given
    FloatSlider floatSlider = floatSlider();
    //when
    floatSlider.setOrientation("vertical");
    //then
    verifyMsgForProperty(groovyKernel, FloatSlider.ORIENTATION, "vertical");
  }

  @Test
  public void shouldSendCommMsgWhenReadOutChange() throws Exception {
    //given
    FloatSlider floatSlider = floatSlider();
    //when
    floatSlider.setReadOut(false);
    //then
    verifyMsgForProperty(groovyKernel, FloatSlider.READOUT, false);
  }

  @Test
  public void shouldSendCommMsgWhenChangeContinuous_update() throws Exception {
    //given
    FloatSlider floatSlider = floatSlider();
    //when
    floatSlider.setContinuous_update(false);
    //then
    verifyMsgForProperty(groovyKernel, FloatSlider.CONTINUOUS_UPDATE, false);
  }

  @Test
  public void setOrientation_hasThatOrientation() throws Exception {
    String expected = "test";
    //given
    FloatSlider floatSlider = floatSlider();
    //when
    floatSlider.setOrientation(expected);
    //then
    Assertions.assertThat(floatSlider.getOrientation()).isEqualTo(expected);
  }

  @Test
  public void setReadout_hasThatReadoutFlag() throws Exception {
    boolean expected = true;
    //given
    FloatSlider floatSlider = floatSlider();
    //when
    floatSlider.setReadOut(expected);
    //then
    Assertions.assertThat(floatSlider.getReadOut()).isEqualTo(expected);
  }

  @Test
  public void setContinuousUpdate_hasThatContinuousUpdateFlag() throws Exception {
    boolean expected = true;
    //given
    FloatSlider floatSlider = floatSlider();
    //when
    floatSlider.setContinuous_update(expected);
    //then
    Assertions.assertThat(floatSlider.getContinuous_update()).isEqualTo(expected);
  }

  private FloatSlider floatSlider() throws NoSuchAlgorithmException {
    FloatSlider widget = new FloatSlider();
    groovyKernel.clearPublishedMessages();
    return widget;
  }

}