text:
package container

import (
	"context"
	"testing"

	"github.com/docker/docker/api/types"
	"github.com/docker/docker/api/types/container"
	"github.com/docker/docker/api/types/network"
	"github.com/docker/docker/client"
	"github.com/stretchr/testify/require"
)

// TestContainerConfig holds container configuration struct that
// are used in api calls.
type TestContainerConfig struct {
	Name             string
	Config           *container.Config
	HostConfig       *container.HostConfig
	NetworkingConfig *network.NetworkingConfig
}

// Create creates a container with the specified options
func Create(t *testing.T, ctx context.Context, client client.APIClient, ops ...func(*TestContainerConfig)) string { // nolint: golint
	t.Helper()
	config := &TestContainerConfig{
		Config: &container.Config{
			Image: "busybox",
			Cmd:   []string{"top"},
		},
		HostConfig:       &container.HostConfig{},
		NetworkingConfig: &network.NetworkingConfig{},
	}

	for _, op := range ops {
		op(config)
	}

	c, err := client.ContainerCreate(ctx, config.Config, config.HostConfig, config.NetworkingConfig, config.Name)
	require.NoError(t, err)

	return c.ID
}

// Run creates and start a container with the specified options
func Run(t *testing.T, ctx context.Context, client client.APIClient, ops ...func(*TestContainerConfig)) string { // nolint: golint
	t.Helper()
	id := Create(t, ctx, client, ops...)

	err := client.ContainerStart(ctx, id, types.ContainerStartOptions{})
	require.NoError(t, err)

	return id
}


text:
import * as React from 'react';
import { createPortal } from 'react-dom';
import { pathnameToLanguage } from 'docs/src/modules/utils/helpers';
import ReactDOMServer from 'react-dom/server';
import PropTypes from 'prop-types';
import NextLink from 'next/link';
import { useRouter } from 'next/router';
import { DocSearchModal, useDocSearchKeyboardEvents } from '@docsearch/react';
import Chip from '@mui/material/Chip';
import ArticleRoundedIcon from '@mui/icons-material/ArticleRounded';
import ToggleOffRoundedIcon from '@mui/icons-material/ToggleOffRounded';
import EditRoundedIcon from '@mui/icons-material/EditRounded';
import HandymanRoundedIcon from '@mui/icons-material/HandymanRounded';
import KeyboardArrowRightRounded from '@mui/icons-material/KeyboardArrowRightRounded';
import SearchIcon from '@mui/icons-material/Search';
import GlobalStyles from '@mui/material/GlobalStyles';
import { alpha, styled } from '@mui/material/styles';
import { LANGUAGES_SSR } from 'docs/src/modules/constants';
import Link from 'docs/src/modules/components/Link';
import { useTranslate, useUserLanguage } from 'docs/src/modules/utils/i18n';
import useLazyCSS from 'docs/src/modules/utils/useLazyCSS';
import getUrlProduct from 'docs/src/modules/utils/getUrlProduct';

const SearchButton = styled('button')(({ theme }) => {
  return {
    minHeight: 34,
    display: 'flex',
    alignItems: 'center',
    paddingLeft: `${theme.spacing(1)}px`,
    [theme.breakpoints.only('xs')]: {
      backgroundColor: 'transparent',
      padding: 0,
      minWidth: 34,
      justifyContent: 'center',
      '& > *:not(.MuiSvgIcon-root)': {
        display: 'none',
      },
    },
    [theme.breakpoints.up('sm')]: {
      minWidth: 200,
    },
    fontFamily: theme.typography.fontFamily,
    position: 'relative',
    backgroundColor:
      theme.palette.mode === 'dark' ? theme.palette.primaryDark[900] : theme.palette.grey[50],
    color: theme.palette.text.secondary,
    fontSize: theme.typography.pxToRem(14),
    border: `1px solid ${
      theme.palette.mode === 'dark' ? theme.palette.primaryDark[700] : theme.palette.grey[200]
    }`,
    borderRadius: 10,
    cursor: 'pointer',
    transitionProperty: 'all',
    transitionDuration: '150ms',
    '&:hover': {
      background:
        theme.palette.mode === 'dark'
          ? alpha(theme.palette.primaryDark[700], 0.4)
          : alpha(theme.palette.grey[100], 0.7),
      borderColor:
        theme.palette.mode === 'dark' ? theme.palette.primaryDark[600] : theme.palette.grey[300],
    },
  };
});

const SearchLabel = styled('span')(({ theme }) => {
  return {
    marginLeft: `${theme.spacing(1)}px`,
    marginRight: 'auto',
  };
});

const Shortcut = styled('div')(({ theme }) => {
  return {
    fontSize: theme.typography.pxToRem(12),
    fontWeight: 700,
    lineHeight: '20px',
    marginLeft: `${theme.spacing(0.5)}px`,
    border: `1px solid ${
      theme.palette.mode === 'dark' ? theme.palette.primaryDark[500] : theme.palette.grey[200]
    }`,
    backgroundColor: theme.palette.mode === 'dark' ? theme.palette.primaryDark[800] : '#FFF',
    padding: `${theme.spacing(0, 0.8)}px`,
    borderRadius: 5,
  };
});

const NewStartScreen = () => {
  const startScreenOptions = [
    {
      category: {
        name: 'Getting started',
        icon: <ArticleRoundedIcon className="DocSearch-NewStartScreenTitleIcon" />,
      },
      items: [
        { name: 'Installation', href: '/material-ui/getting-started/installation/' },
        { name: 'Usage', href: '/material-ui/getting-started/usage/' },
        { name: 'Learn', href: '/material-ui/getting-started/learn/' },
      ],
    },
    {
      category: {
        name: 'Popular searches',
        icon: <ToggleOffRoundedIcon className="DocSearch-NewStartScreenTitleIcon" />,
      },
      items: [
        { name: 'Material Icons', href: '/material-ui/material-icons/' },
        { name: 'Text field', href: '/material-ui/react-text-field/' },
        { name: 'Button', href: '/material-ui/react-button/' },
      ],
    },
    {
      category: {
        name: 'Customization',
        icon: <EditRoundedIcon className="DocSearch-NewStartScreenTitleIcon" />,
      },
      items: [
        { name: 'How to customize', href: '/material-ui/customization/how-to-customize/' },
        { name: 'Theming', href: '/material-ui/customization/theming/' },
        { name: 'Default Theme', href: '/material-ui/customization/default-theme/' },
      ],
    },
    {
      category: {
        name: 'System',
        icon: <HandymanRoundedIcon className="DocSearch-NewStartScreenTitleIcon" />,
      },
      items: [
        { name: 'Basics', href: '/system/basics/' },
        { name: 'Properties', href: '/system/properties/' },
        { name: 'The sx prop', href: '/system/the-sx-prop/' },
      ],
    },
  ];
  return (

      {startScreenOptions.map(({ category, items }) => (

            {category.icon}
            {category.name}

          {items.map(({ name, href }) => (
            <NextLink key={name} href={href}>

                {name}
                <KeyboardArrowRightRounded className="DocSearch-NewStartScreenItemIcon" />

            </NextLink>
          ))}

      ))}

  );
};

function DocSearcHit(props) {
  const { children, hit } = props;

  function displayTag(pathname) {
    // does not need to show product label for MUI X because they are grouped by the product name in the search
    // ie. Data Grid, Date Picker
    if (!pathname.match(/^\/(material-ui|joy-ui|base)\//)) {
      return null;
    }
    let text = '';
    if (pathname.startsWith('/material-ui/')) {
      text = 'Material UI';
    }
    if (pathname.startsWith('/joy-ui/')) {
      text = 'Joy UI';
    }
    if (pathname.startsWith('/base/')) {
      text = 'MUI Base';
    }
    return <Chip label={text} size="small" variant="outlined" sx={{ mr: 1 }} />;
  }

  if (hit.pathname) {
    return (
      <Link
        href={hit.pathname}
        as={hit.as}
        sx={{ display: 'flex !important', '& .DocSearch-Hit-Container': { flex: 1, minWidth: 0 } }}
      >
        {children}
        {displayTag(hit.pathname)}
      </Link>
    );
  }

  // DocSearch stores the old results in its cache
  // hit.pathname won't be defined for them.
  return <Link href={hit.url}>{children}</Link>;
}

DocSearcHit.propTypes = {
  children: PropTypes.node,
  hit: PropTypes.object.isRequired,
};

export default function AppSearch() {
  useLazyCSS(
    'https://cdn.jsdelivr.net/npm/@docsearch/css@3.0.0-alpha.40/dist/style.min.css',
    '#app-search',
  );
  const FADE_DURATION = 100; // ms
  const t = useTranslate();
  const userLanguage = useUserLanguage();
  const searchButtonRef = React.useRef(null);
  const [isOpen, setIsOpen] = React.useState(false);
  const [initialQuery, setInitialQuery] = React.useState(undefined);
  const facetFilterLanguage =
    LANGUAGES_SSR.indexOf(userLanguage) !== -1 ? `language:${userLanguage}` : `language:en`;
  const macOS = window.navigator.platform.toUpperCase().indexOf('MAC') >= 0;
  const onOpen = React.useCallback(() => {
    setIsOpen(true);
  }, [setIsOpen]);
  const router = useRouter();
  const productSpace = getUrlProduct(router.asPath);

  const keyboardNavigator = {
    navigate({ item }) {
      const as = item.userLanguage !== 'en' ? `/${item.userLanguage}${item.as}` : item.as;
      router.push(item.pathname, as);
    },
  };

  const onClose = React.useCallback(() => {
    const modal = document.querySelector('.DocSearch-Container');
    if (modal) {
      // fade out transition
      modal.style.opacity = 0;
    }
    setIsOpen(false); // DO NOT call setIsOpen inside a timeout (it causes scroll issue).
  }, [setIsOpen]);

  const onInput = React.useCallback(
    (event) => {
      setIsOpen(true);
      setInitialQuery(event.key);
    },
    [setIsOpen, setInitialQuery],
  );

  useDocSearchKeyboardEvents({
    isOpen,
    onOpen,
    onClose,
    onInput,
    searchButtonRef,
  });

  React.useEffect(() => {
    const addStartScreen = () => {
      const dropDown = document.querySelector('.DocSearch-Dropdown');
      const isExisting = document.querySelector('.DocSearch-NewStartScreen');
      if (dropDown && !isExisting) {
        dropDown.insertAdjacentHTML(
          'beforeend',
          ReactDOMServer.renderToStaticMarkup(<NewStartScreen />),
        );
      }
    };
    // add transition to Modal
    if (isOpen) {
      const modal = document.querySelector('.DocSearch-Container');
      const searchInput = document.querySelector('.DocSearch-Input');
      if (modal) {
        modal.style.opacity = 1;
        addStartScreen();
      }
      if (searchInput) {
        const handleInput = (event) => {
          const newStartScreen = document.querySelector('.DocSearch-NewStartScreen');
          if (newStartScreen) {
            newStartScreen.style.display = event.target.value !== '' ? 'none' : 'grid';
          }
        };
        searchInput.addEventListener('input', handleInput);
        return () => {
          searchInput.removeEventListener('input', handleInput);
        };
      }
    }
    return () => {};
  }, [isOpen]);

  const search = `${t('algoliaSearch')}…`;

  return (
    <React.Fragment>
      <SearchButton ref={searchButtonRef} onClick={onOpen}>
        <SearchIcon
          fontSize="small"
          sx={{
            color: (theme) =>
              theme.palette.mode === 'dark'
                ? theme.palette.primary[300]
                : theme.palette.primary[500],
          }}
        />
        <SearchLabel>{search}</SearchLabel>
        <Shortcut>
          {/* eslint-disable-next-line material-ui/no-hardcoded-labels */}
          {macOS ? '⌘' : 'Ctrl+'}K
        </Shortcut>
      </SearchButton>
      {isOpen &&
        createPortal(
          <DocSearchModal
            initialQuery={initialQuery}
            appId={'TZGZ85B9TB'}
            apiKey={'8177dfb3e2be72b241ffb8c5abafa899'}
            indexName="material-ui"
            searchParameters={{
              facetFilters: ['version:master', facetFilterLanguage],
              optionalFilters: [`product:${productSpace}`],
              hitsPerPage: 40,
            }}
            placeholder={search}
            transformItems={(items) => {
              return items.map((item) => {
                // `url` contains the domain
                // but we want to link to the current domain e.g. deploy-preview-1--material-ui.netlify.app
                const parseUrl = document.createElement('a');
                parseUrl.href = item.url;

                const { canonicalAs, canonicalPathname } = pathnameToLanguage(
                  `${parseUrl.pathname}${parseUrl.hash}`,
                );

                return {
                  ...item,
                  pathname: canonicalPathname,
                  as: canonicalAs,
                  userLanguage,
                };
              });
            }}
            hitComponent={DocSearcHit}
            initialScrollY={typeof window !== 'undefined' ? window.scrollY : undefined}
            onClose={onClose}
            navigator={keyboardNavigator}
          />,
          document.body,
        )}
      <GlobalStyles
        styles={(theme) => ({
          html: {
            ':root': {
              '--docsearch-primary-color':
                theme.palette.mode === 'dark'
                  ? theme.palette.primaryDark[300]
                  : theme.palette.primary[500],
              '--docsearch-text-color': theme.palette.text.primary,
              '--docsearch-muted-color': theme.palette.grey[600],
              '--docsearch-searchbox-shadow': 0,
              '--docsearch-hit-shadow': 0,
              '--docsearch-footer-shadow': 0,
              '--docsearch-spacing': `${theme.spacing(1.5)}px`,
              '--docsearch-hit-active-color':
                theme.palette.mode === 'dark'
                  ? theme.palette.primary[300]
                  : theme.palette.primary[600],
              '--docsearch-logo-color': theme.palette.grey[600],
              '--docsearch-searchbox-focus-background': 'unset',
              '--docsearch-footer-background': 'unset',
              '--docsearch-modal-background': theme.palette.background.paper,
            },
          },
          body: {
            '.DocSearch-Container': {
              transition: `opacity ${FADE_DURATION}ms`,
              opacity: 0,
              zIndex: theme.zIndex.tooltip + 100,
              backgroundColor:
                theme.palette.mode === 'dark'
                  ? alpha(theme.palette.grey[900], 0.7)
                  : alpha(theme.palette.grey[600], 0.2),
              backdropFilter: 'blur(4px)',
            },
            '& .DocSearch-StartScreen': {
              display: 'none',
            },
            '& .DocSearch-NewStartScreen': {
              display: 'grid',
              gridTemplateColumns: 'repeat(2, 1fr)',
              gap: `${theme.spacing(2)}px`,
              padding: `${theme.spacing(2, 1)}px`,
            },
            '& .DocSearch-NewStartScreenCategory': {
              display: 'flex',
              flexDirection: 'column',
            },
            '& .DocSearch-NewStartScreenTitle': {
              display: 'flex',
              alignItems: 'center',
              padding: `${theme.spacing(1, 1)}px`,
              fontSize: theme.typography.pxToRem(14),
              color: theme.palette.text.secondary,
            },
            '& .DocSearch-NewStartScreenTitleIcon': {
              color:
                theme.palette.mode === 'dark'
                  ? theme.palette.primaryDark[300]
                  : theme.palette.primary[500],
              marginRight: `${theme.spacing(1.5)}px`,
              fontSize: theme.typography.pxToRem(16),
            },
            '& .DocSearch-NewStartScreenItem': {
              display: 'flex',
              alignItems: 'center',
              cursor: 'pointer',
              width: '100%',
              padding: `${theme.spacing(0.5, 4.6)}px`,
              color:
                theme.palette.mode === 'dark'
                  ? theme.palette.primaryDark[300]
                  : theme.palette.primary[500],
              fontWeight: 500,
              fontSize: theme.typography.pxToRem(14),
              '&:hover, &:focus': {
                '.DocSearch-NewStartScreenItemIcon': {
                  marginLeft: `${theme.spacing(1)}px`,
                },
              },
            },
            '& .DocSearch-NewStartScreenItemIcon': {
              marginLeft: `${theme.spacing(0.5)}px`,
              transition: 'margin 0.2s',
              fontSize: theme.typography.pxToRem(16),
            },
            '& .DocSearch-Modal': {
              maxWidth: '700px',
              boxShadow: `0px 4px 20px ${
                theme.palette.mode === 'dark'
                  ? alpha(theme.palette.background.paper, 0.7)
                  : alpha(theme.palette.grey[700], 0.2)
              }`,
              ...(theme.palette.mode === 'dark' && {
                border: '1px solid',
                borderColor: theme.palette.primaryDark[700],
              }),
              // docsearch.css: <= 750px will be full screen modal
              borderRadius: `clamp(0px, (100vw - 750px) * 9999, ${theme.shape.borderRadius}px)`,
            },
            '& .DocSearch-SearchBar': {
              borderBottom: '1px solid',
              borderColor:
                theme.palette.mode === 'dark'
                  ? theme.palette.primaryDark[700]
                  : theme.palette.grey[200],
              padding: `${theme.spacing(1)}px`,
            },
            '& .DocSearch-Form': {
              '& .DocSearch-Reset': {
                display: 'none',
              },
              '& .DocSearch-Input': {
                paddingLeft: `${theme.spacing(2.5)}px`,
              },
              '& .DocSearch-Search-Icon': {
                width: '20px',
                height: '20px',
              },
            },
            '& .DocSearch-Cancel': {
              display: 'block',
              alignSelf: 'center',
              height: '1.5rem',
              marginRight: `${theme.spacing(1)}px`,
              padding: `${theme.spacing(0.3, 0.8, 0.6, 0.8)}px`,
              fontSize: 0,
              borderRadius: 5,
              backgroundColor:
                theme.palette.mode === 'dark'
                  ? theme.palette.primaryDark[800]
                  : theme.palette.grey[50],
              border: '1px solid',
              borderColor:
                theme.palette.mode === 'dark'
                  ? theme.palette.primaryDark[600]
                  : theme.palette.grey[300],
              '&::before': {
                content: '"esc"',
                fontSize: theme.typography.pxToRem(12),
                letterSpacing: '.08rem',
                fontWeight: 700,
                color: theme.palette.text.secondary,
              },
            },
            '& .DocSearch-Dropdown': {
              minHeight: 384, // = StartScreen height, to prevent layout shift when first char
              '&::-webkit-scrollbar-thumb': {
                borderColor:
                  theme.palette.mode === 'dark'
                    ? theme.palette.primaryDark[900]
                    : theme.palette.background.paper,
                backgroundColor:
                  theme.palette.mode === 'dark'
                    ? theme.palette.primaryDark[700]
                    : theme.palette.grey[500],
              },
              '&::-webkit-scrollbar-track': {
                backgroundColor: theme.palette.background.paper,
              },
            },
            '& .DocSearch-Dropdown-Container': {
              '& .DocSearch-Hits:first-of-type': {
                '& .DocSearch-Hit-source': {
                  paddingTop: `${theme.spacing(1)}px`,
                },
              },
            },
            '& .DocSearch-Hit-source': {
              top: 'initial',
              paddingTop: `${theme.spacing(2)}px`,
              background: theme.palette.background.paper,
              fontSize: theme.typography.pxToRem(13),
              fontWeight: 500,
              color: theme.palette.text.secondary,
            },
            '& .DocSearch-Hit': {
              paddingBottom: 0,
              '&:not(:first-of-type)': {
                marginTop: -1,
              },
            },
            '& .DocSearch-Hit a': {
              backgroundColor: 'transparent',
              padding: `${theme.spacing(0.25, 0)}px`,
              paddingLeft: `${theme.spacing(2)}px`,
              border: '1px solid transparent',
              borderBottomColor:
                theme.palette.mode === 'dark'
                  ? theme.palette.primaryDark[700]
                  : theme.palette.grey[100],
            },
            '& .DocSearch-Hit-content-wrapper': {
              paddingLeft: `${theme.spacing(2)}px`,
            },
            '& .DocSearch-Hit-title': {
              fontSize: theme.typography.pxToRem(14),
              color: `${theme.palette.text.primary}`,
            },
            '& .DocSearch-Hit-path': {
              fontSize: theme.typography.pxToRem(12),
              color: `${theme.palette.text.secondary}`,
            },
            '& .DocSearch-Hit-Select-Icon': {
              height: '15px',
              width: '15px',
            },
            '& .DocSearch-Hit[aria-selected="true"] a': {
              backgroundColor:
                theme.palette.mode === 'dark'
                  ? theme.palette.primaryDark[800]
                  : theme.palette.primary[50],
              borderColor:
                theme.palette.mode === 'dark'
                  ? theme.palette.primaryDark[400]
                  : theme.palette.primary[500],
              borderRadius: theme.shape.borderRadius,
            },
            '& .DocSearch-Hit-action, & .DocSearch-Hits mark': {
              color: `${
                theme.palette.mode === 'dark'
                  ? theme.palette.primary[400]
                  : theme.palette.primary[500]
              }`,
            },
            '& .DocSearch-Footer': {
              borderTop: '1px solid',
              borderColor:
                theme.palette.mode === 'dark'
                  ? theme.palette.primaryDark[700]
                  : theme.palette.grey[200],
              '& .DocSearch-Commands': {
                display: 'none',
              },
            },
          },
        })}
      />
    </React.Fragment>
  );
}

redpajama_set_name: RedPajamaGithub


text:
using System;
using System.Collections.Generic;
using System.Linq;
using Moq;
using NUnit.Framework;
using SampleDomain.Events;
using SeekU.Eventing;
using SeekU.Sql;
using SeekU.Sql.Eventing;
using SeekU.Tests.Properties;

namespace SeekU.Tests.ProviderTests.SeekU.SqlTests
{
    [TestFixture]
    public class SqlEventStoreFixture
    {
        [Test]
        public void SqlEventStore_Deserializes_Events()
        {
            var id = Guid.NewGuid();
            var events = new List<EventStream>
            {
                new EventStream
                {
                    AggregateRootId =id,
                    DateCreated = DateTime.Now,
                    EventData = Resources.JsonSerializedDebitEvent,
                    Id = 1,
                    SequenceStart = 2,
                    SequenceEnd = 2
                },
                new EventStream
                {
                    AggregateRootId = id,
                    DateCreated = DateTime.Now,
                    EventData = Resources.JsonSerializedNewAccountEvent,
                    Id = 1,
                    SequenceStart = 1,
                    SequenceEnd = 1
                }
            };

            var database = new Mock<ISqlRepository>();
            database.Setup(db => db.GetEventStream(It.IsAny<Guid>(), It.IsAny<long>())).Returns(events);

            var store = new SqlEventStore
            {
                GetRepository = () => database.Object
            };

            var eventStream = store.GetEvents(id, 1).ToList();

            Assert.AreEqual(2, eventStream.Count());
            Assert.AreEqual(1, eventStream[0].Sequence);
            Assert.AreEqual(2, eventStream[1].Sequence);
            Assert.IsInstanceOf<AccountCreatedEvent>(eventStream[0]);
            Assert.IsInstanceOf<AccountDebitedEvent>(eventStream[1]);
        }

        [Test]
        public void SqlEventStore_Serialized_Events()
        {
            var database = new Mock<ISqlRepository>();
            database.Setup(db => db.InsertEvents(It.IsAny<EventStream>()));

            var store = new SqlEventStore
            {
                GetRepository = () => database.Object
            };

            var events = new List<DomainEvent>
            {
                new AccountCreatedEvent(Guid.NewGuid(), 100),
                new AccountDebitedEvent(Guid.NewGuid(), 50)
            };

            store.Insert(Guid.NewGuid(), events);

            database.Verify(db => db.InsertEvents(It.IsAny<EventStream>()), Times.Once);
        }
    }
}


text:
const languageObj = {
  QuietWater: {
    headerTitle: {
      countTextPostfix: 'responses'
    },
    loadMoreReplyText: 'more'
  },
  User: {

  },
  Reply: {
    settings: {
      settingsText: 'settings',
      // allowAllUsersComment: 'allow all users comment'
      closeComment: 'close comment',
      deleteText: 'delete'
    },
    shareText: 'share',
    commentBtnPostfix: 'comments',
    expandText: 'read more',
    foldText: 'fold',
    lastUpdatedTimeText: 'last update at',
    foldCommentText: 'fold comment'
  },
  Comment: {
    headerTitle: {
      isAuthorText: 'author',
      countTextPostfix: 'comments',
      replyToText: 'response to'
    },
    operationBar: {
      replyText: 'response',
      conversationText: 'view the conversations'
    },
    ConversationBox: {
      titleText: 'view the conversations'
    }
  },
  Editor: {
    replyEditor: {
      placeholderText: 'write response...',
      submitText: 'submit'
    },
    commentEditor: {
      cancelText: 'cancel',
      submitText: 'comment',
      placeholderText: 'write your comment...'
    }
  },
  OperationError: {
    backendInterfaceIncludesError: 'operate failure,please contact the admin',
    whenNotLogin: 'you cant operate before login',
    whenAddReplyError: 'create response failure,please check the network,if still,please contact the admin',
    whenAddCommentError: 'create network failure,please check the network,if still,please contact the admin'
  },
  languageName: 'en-us'
};

export default languageObj;


text:
/**
 * @file
 * @brief Non-random number generator based on system timer
 *
 * This module provides a non-random implementation of sys_rand32_get(), which
 * is not meant to be used in a final product as a truly random number
 * generator. It was provided to allow testing on a platform that does not (yet)
 * provide a random number generator.
 */

#include <zephyr/random/rand32.h>
#include <zephyr/drivers/timer/system_timer.h>
#include <zephyr/kernel.h>
#include <zephyr/sys/atomic.h>
#include <string.h>

#if defined(__GNUC__)

/*
 * Symbols used to ensure a rapid series of calls to random number generator
 * return different values.
 */
static atomic_val_t _rand32_counter;

#define _RAND32_INC 1000000003U

/**
 * @brief Get a 32 bit random number
 *
 * The non-random number generator returns values that are based off the
 * target's clock counter, which means that successive calls will return
 * different values.
 *
 * @return a 32-bit number
 */
uint32_t z_impl_sys_rand32_get(void)
{
	return k_cycle_get_32() + atomic_add(&_rand32_counter, _RAND32_INC);
}

/**
 * @brief Fill destination buffer with random numbers
 *
 * The non-random number generator returns values that are based off the
 * target's clock counter, which means that successive calls will return
 * different values.
 *
 * @param dst destination buffer to fill
 * @param outlen size of destination buffer to fill
 */
void z_impl_sys_rand_get(void *dst, size_t outlen)
{
	uint8_t *udst = dst;
	uint32_t blocksize;
	uint32_t ret;

	while (outlen) {
		ret = sys_rand32_get();
		blocksize = MIN(outlen, sizeof(ret));
		(void)memcpy((void *)udst, &ret, blocksize);
		udst += blocksize;
		outlen -= blocksize;
	}
}
#endif /* __GNUC__ */


text:
package org.callimachusproject.webdriver;

import java.io.File;

import junit.framework.TestSuite;

import org.callimachusproject.webdriver.helpers.AssetDownloader;
import org.callimachusproject.webdriver.helpers.BrowserFunctionalTestCase;
import org.callimachusproject.webdriver.pages.DatasourceView;
import org.callimachusproject.webdriver.pages.FolderView;
import org.openqa.selenium.By;

public class SchoolWardFunctionalTest extends BrowserFunctionalTestCase {
	private static final String DOWNLOAD_URL = "http://callimachus.googlecode.com/files/schools.car";

	public static TestSuite suite() throws Exception {
		return BrowserFunctionalTestCase
				.suite(SchoolWardFunctionalTest.class);
	}

	public SchoolWardFunctionalTest() {
		super();
	}

	public SchoolWardFunctionalTest(BrowserFunctionalTestCase parent) {
		super(parent);
	}

	public void testSchoolWard() throws Exception {
		File car = new AssetDownloader(new File("downloads"))
				.getLocalAsset(DOWNLOAD_URL);
		FolderView folder = page.openCurrentFolder().openImportDialogue()
				.selectFile(car).replaceContents().importCar().openCurrentFolder();
		String archive = folder.getCurrentUrl().replaceAll("\\?.*", "?archive");
		File ex = new AssetDownloader(getUsername(), getPassword()).downloadAsset(archive, "schools.car");
		folder.openImportDialogue().selectFile(ex).replaceContents().importCar().open("./");
		ex.delete();
		browser.click(By.linkText("Bartley Green"));
		browser.focusInTopWindow();
		browser.click(By
				.linkText("Bartley Green School A Specialist Technology and Sports College"));
		browser.focusInTopWindow();
		String uri = browser.getCurrentUrl().replace("?view", "");
		browser.click(By.linkText("Edit"));
		browser.focusInTopWindow();
		browser.type(By.id("name"), "Bartley Green School");
		browser.type(By.id("comment"),
				"A Specialist Technology and Sports College");
		browser.click(By.id("save"));
		browser.focusInTopWindow();
		browser.waitUntilTextPresent(By.tagName("p"),
				"A Specialist Technology and Sports College");
		page.open("/sparql", DatasourceView.class).query("DELETE WHERE { <" + uri + "> ?p ?o }").execute();
		browser.focusInTopWindow();
	}

}


text:
/*
 *	Geoffrey Corey		Oct 7, 2011
 *	Google (for proper syntax use), C book
 *	Assignment1 Q1.c, manipulating values using pointers and using structs.
 *	eclipse CDT in Linux Ubunutu
*/

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>

struct student{
	int id;
	int score;
};

int contains(int values[], int want);

struct student* allocate(){
     /*Allocate memory for ten students*/
	struct student  *sptr = (struct student*)malloc(sizeof(struct student)*10);
     /*return the pointer*/
	return sptr;
}

void generate(struct student* students){
     /*Generate random ID and scores for ten students, ID being between 1 and 10, scores between 0 and 100*/
	 srand((unsigned)time(NULL));
	int randNum, randScore, i;
	int x[10];
	for (i = 0; i < 10; i++){
		randNum = rand()%100000+100000;
		if (i != 0){
			if (contains(x, randNum) == 1){
				i--;
			} else {
				x[i] = randNum;
			}
		}
		x[i] = randNum;
	}
	for (i = 0; i < 10; i++){
		randScore = rand()%100;
		students[i].id = x[i];
		students[i].score = randScore;
	}
}

void output(struct student* students){
     /*Output information about the ten students in the format:
              ID1 Score1
              ID2 score2
              ID3 score3
              ...
              ID10 score10*/
	int i;
	for(i = 0; i < 10; i++){
		printf("ID %4d    Score %4d\n", students[i].id, students[i].score);
	}
}

void summary(struct student* students){
     /*Compute and print the minimum, maximum and average scores of the ten students*/
	int min, max, total, i, a;
	float avg;
	int count = 0;
	for (i = 0; i < 10; i++){
		a = students[i].score;
		if (i == 0){
			min = a;
			max = a;
			total = a;
		}else{
			total = total + a;
			if ( a < min ) min = a;
			if ( a > max ) max = a;
		}
		count++;
	}
	avg = 1.0*total/count;
	printf("\nMinimum Score: %d\nMaximum Score: %d\nAverage Score: %2.2f", min, max, avg);

}

void deallocate(struct student* stud){
     /*Deallocate memory from stud*/
	free(stud);
}

int contains(int values[], int want){
	int i;
	for (i = 0; i < 10; i++){
		if (values[i] == want){
			return 1;
		}
	}
	return 0;
}

int main(){
    struct student* stud = 0;

    /*call allocate*/
    stud = allocate();
    /*call generate*/
    generate(stud);
    /*call output*/
    output(stud);
    /*call summary*/
    summary(stud);
    /*call deallocate*/
    deallocate(stud);
    return 0;
}


text:
package com.fastcgi;

import java.io.*;

/**
 * This stream manages buffered reads of FCGI messages.
 */
public class FCGIInputStream extends InputStream
{
    private static final String RCSID = "$Id: FCGIInputStream.java,v 1.4 2000/03/21 12:12:25 robs Exp $";

    /* Stream vars */

    public int rdNext;
    public int stop;
    public boolean isClosed;

    /* require methods to set, get and clear */
    private int errno;
    private Exception errex;

    /* data vars */

    public byte buff[];
    public int buffLen;
    public int buffStop;
    public int type;
    public int contentLen;
    public int paddingLen;
    public boolean skip;
    public boolean eorStop;
    public FCGIRequest request;

    public InputStream in;

    /**
    * Creates a new input stream to manage fcgi prototcol stuff
    * @param in the input stream  bufLen  length of buffer streamType
    */
    public FCGIInputStream(FileInputStream inStream, int bufLen,
        int streamType,
        FCGIRequest inReq) {

        in = inStream;
        buffLen = Math.min(bufLen,FCGIGlobalDefs.def_FCGIMaxLen);
        buff = new byte[buffLen];
        type = streamType;
        stop = rdNext = buffStop = 0;
        isClosed = false;
        contentLen = 0;
        paddingLen = 0;
        skip = false;
        eorStop = false;
        request = inReq;

    }
    /**
    * Reads a byte of data. This method will block if no input is
    * available.
    * @return  the byte read, or -1 if the end of the
    *      stream is reached.
    * @exception IOException If an I/O error has occurred.
    */
    public int read() throws IOException {
        if (rdNext != stop) {
            return buff[rdNext++] & 0xff;
        }
        if (isClosed){
            return -1;
        }
        fill();
        if (rdNext != stop){
            return buff[rdNext++] & 0xff;
        }
        return -1;
    }
    /**
    * Reads into an array of bytes.  This method will
    * block until some input is available.
    * @param b the buffer into which the data is read
    * @return  the actual number of bytes read, -1 is
    *      returned when the end of the stream is reached.
    * @exception IOException If an I/O error has occurred.
    */
    public int read(byte b[]) throws IOException {
        return read(b, 0, b.length);
    }

    /**
    * Reads into an array of bytes.
    * Blocks until some input is available.
    * @param b the buffer into which the data is read
    * @param off the start offset of the data
    * @param len the maximum number of bytes read
    * @return  the actual number of bytes read, -1 is
    *      returned when the end of the stream is reached.
    * @exception IOException If an I/O error has occurred.
    */
    public int read(byte b[], int off, int len) throws IOException {
        int m, bytesMoved;

        if (len <= 0){
            return 0;
        }
        /*
        *Fast path: len bytes already available.
        */

        if (len <= stop - rdNext){
            System.arraycopy(buff, rdNext, b, off, len);
            rdNext += len;
            return len;
        }
        /*
        *General case: stream is closed or fill needs to be called
        */
        bytesMoved = 0;
        for(;;){
            if (rdNext != stop){
                m = Math.min(len - bytesMoved, stop - rdNext);
                System.arraycopy(buff, rdNext, b, off, m);
                bytesMoved += m;
                rdNext += m;
                if (bytesMoved == len)
                    return bytesMoved;
                off += m;
            }
            if (isClosed){
                return bytesMoved;
            }
            fill();

        }
    }
    /**
    * Reads into an array of bytes.  This method will
    * block until some input is available.
    * @param b the buffer into which the data is read
    * @param off the start offset of the data
    * @param len the maximum number of bytes read
    * @return  the actual number of bytes read, -1 is
    *      returned when the end of the stream is reached.
    * @exception IOException If an I/O error has occurred.
    */
    public void  fill() throws IOException {
        byte[] headerBuf = new byte[FCGIGlobalDefs.def_FCGIHeaderLen];
        int headerLen = 0;
        int status = 0;
        int count = 0;
        for(;;) {
            /*
            * If buffer is empty, do a read
            */
            if (rdNext == buffStop) {
                try {
                    count = in.read(buff, 0, buffLen);
                } catch (IOException e) {
                    setException(e);
                    return;
                }
                if (count == 0) {
                    setFCGIError(FCGIGlobalDefs.def_FCGIProtocolError);
                    return;
                }
                rdNext = 0;
                buffStop = count;       // 1 more than we read
            }
            /* Now buf is not empty: If the current record contains more content
             * bytes, deliver all that are present in buff to callers buffer
             * unless he asked for less than we have, in which case give him less
             */
            if (contentLen > 0) {
                count = Math.min(contentLen, buffStop - rdNext);
                contentLen -= count;
                if (!skip) {
                    stop = rdNext + count;
                    return;
                }
                else {
                    rdNext += count;
                    if (contentLen > 0) {
                        continue;
                    }
                    else {
                        skip = false;
                    }
                }
            }
            /* Content has been consumed by client.
             * If record was padded, skip over padding
             */
            if (paddingLen > 0) {
                count = Math.min(paddingLen, buffStop - rdNext);
                paddingLen -= count;
                rdNext += count;
                if (paddingLen > 0) {
                    continue;    // more padding to read
                }
            }
            /* All done with current record, including the padding.
             * If we are in a recursive call from Process Header, deliver EOF
             */
            if (eorStop){
                stop = rdNext;
                isClosed = true;
                return;
            }
            /*
             * Fill header with bytes from input buffer - get the whole header.
             */
            count = Math.min(headerBuf.length - headerLen, buffStop - rdNext);
            System.arraycopy(buff,rdNext, headerBuf, headerLen, count);
            headerLen += count;
            rdNext  += count;
            if (headerLen < headerBuf.length) {
                continue;
            }
            headerLen = 0;
            /*
             * Interperet the header. eorStop prevents ProcessHeader from
             * reading past the end of record when using stream to read content
             */
            eorStop = true;
            stop = rdNext;
            status = 0;
            status = new FCGIMessage(this).processHeader(headerBuf);
            eorStop = false;
            isClosed = false;
            switch (status){
            case FCGIGlobalDefs.def_FCGIStreamRecord:
                if (contentLen == 0) {
                    stop = rdNext;
                    isClosed = true;
                    return;
                }
                break;
            case FCGIGlobalDefs.def_FCGISkip:
                skip = true;
                break;
            case FCGIGlobalDefs.def_FCGIBeginRecord:
                /*
                * If this header marked the beginning of a new
                * request, return role info to caller
                */
                return;
            case FCGIGlobalDefs.def_FCGIMgmtRecord:
                break;
            default:
                /*
                * ASSERT
                */
                setFCGIError(status);
                return;

            }
        }
    }

    /**
     * Skips n bytes of input.
     * @param n the number of bytes to be skipped
     * @return  the actual number of bytes skipped.
     * @exception IOException If an I/O error has occurred.
     */
    public long skip(long n) throws IOException {
        byte data[] = new byte[(int)n];
        return in.read(data);
    }

    /*
     * An FCGI error has occurred. Save the error code in the stream
     * for diagnostic purposes and set the stream state so that
     * reads return EOF
     */
    public void setFCGIError(int errnum) {
        /*
        * Preserve only the first error.
        */
        if(errno == 0) {
            errno = errnum;
        }
        isClosed = true;
    }
    /*
    * An Exception has occurred. Save the Exception in the stream
    * for diagnostic purposes and set the stream state so that
    * reads return EOF
    */
    public void setException(Exception errexpt) {
        /*
        * Preserve only the first error.
        */
        if(errex == null) {
            errex = errexpt;
        }
        isClosed = true;
    }

    /*
    * Clear the stream error code and end-of-file indication.
    */
    public void clearFCGIError() {
        errno = 0;
        /*
        * isClosed = false;
        * XXX: should clear isClosed but work is needed to make it safe
        * to do so.
        */
    }
    /*
    * Clear the stream error code and end-of-file indication.
    */
    public void clearException() {
        errex = null;
        /*
        * isClosed = false;
        * XXX: should clear isClosed but work is needed to make it safe
        * to do so.
        */
    }

    /*
    * accessor method since var is private
    */
    public int getFCGIError() {
        return errno;
    }
    /*
    * accessor method since var is private
    */
    public Exception getException() {
        return errex;
    }
    /*
    * Re-initializes the stream to read data of the specified type.
    */
    public void setReaderType(int streamType) {

        type = streamType;
        eorStop = false;
        skip = false;
        contentLen = 0;
        paddingLen = 0;
        stop = rdNext;
        isClosed = false;
    }

    /*
    * Close the stream. This method does not really exist for BufferedInputStream in java,
    * but is implemented here for compatibility with the FCGI structures being used. It
    * doent really throw any IOExceptions either, but that's there for compatiblity with
    * the InputStreamInterface.
    */
    public void close() throws IOException{
        isClosed = true;
        stop = rdNext;
    }

    /*
    * Returns the number of bytes that can be read without blocking.
    */

    public int available() throws IOException {
        return stop - rdNext + in.available();
    }

}


text:
package com.chaozhis.utils;

public class Field {
    private String name;
    private int type;

    public String getName() {
        return name;
    }

    public int getType() {
        return type;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setType(int type) {
        this.type = type;
    }
}


text:
// ------------------------------------------------------------------------------
//  <auto-generated>
//      This code was generated by SpecFlow (http://www.specflow.org/).
//      SpecFlow Version:2.0.0.0
//      SpecFlow Generator Version:2.0.0.0
//
//      Changes to this file may cause incorrect behavior and will be lost if
//      the code is regenerated.
//  </auto-generated>
// ------------------------------------------------------------------------------
#region Designer generated code
#pragma warning disable
namespace Sitecore.Feature.Demo.Specflow
{
    using TechTalk.SpecFlow;

    [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "2.0.0.0")]
    [System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    public partial class XDBPanelFeature : Xunit.IClassFixture<XDBPanelFeature.FixtureData>, System.IDisposable
    {

        private static TechTalk.SpecFlow.ITestRunner testRunner;

#line 1 "xDB Panel.feature"
#line hidden

        public XDBPanelFeature()
        {
            this.TestInitialize();
        }

        public static void FeatureSetup()
        {
            testRunner = TechTalk.SpecFlow.TestRunnerManager.GetTestRunner();
            TechTalk.SpecFlow.FeatureInfo featureInfo = new TechTalk.SpecFlow.FeatureInfo(new System.Globalization.CultureInfo("en-US"), "xDB Panel", null, ProgrammingLanguage.CSharp, ((string[])(null)));
            testRunner.OnFeatureStart(featureInfo);
        }

        public static void FeatureTearDown()
        {
            testRunner.OnFeatureEnd();
            testRunner = null;
        }

        public virtual void TestInitialize()
        {
        }

        public virtual void ScenarioTearDown()
        {
            testRunner.OnScenarioEnd();
        }

        public virtual void ScenarioSetup(TechTalk.SpecFlow.ScenarioInfo scenarioInfo)
        {
            testRunner.OnScenarioStart(scenarioInfo);
        }

        public virtual void ScenarioCleanup()
        {
            testRunner.CollectScenarioErrors();
        }

        public virtual void SetFixture(XDBPanelFeature.FixtureData fixtureData)
        {
        }

        void System.IDisposable.Dispose()
        {
            this.ScenarioTearDown();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC1_Open Main Panel view")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC1_OpenMainPanelView()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC1_Open Main Panel view", new string[] {
                        "NeedImplementation"});
#line 5
this.ScenarioSetup(scenarioInfo);
#line 6
 testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 7
 testRunner.When("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 8
 testRunner.Then("xDB panel has opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] {
                        "Header name"});
            table1.AddRow(new string[] {
                        "Engagement"});
            table1.AddRow(new string[] {
                        "Personal Information"});
            table1.AddRow(new string[] {
                        "Onsite Behavior"});
            table1.AddRow(new string[] {
                        "Referral"});
#line 9
 testRunner.And("xDB panel contains following headers", ((string)(null)), table1, "And ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC2_Close Panel")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC2_ClosePanel()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC2_Close Panel", new string[] {
                        "NeedImplementation"});
#line 18
this.ScenarioSetup(scenarioInfo);
#line 19
 testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 20
 testRunner.And("xDB panel has opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 21
 testRunner.When("Actor clicks <Close> button on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 22
 testRunner.Then("xDB panel is closed", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC3_Refresh visit details panel")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC3_RefreshVisitDetailsPanel()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC3_Refresh visit details panel", new string[] {
                        "NeedImplementation"});
#line 26
this.ScenarioSetup(scenarioInfo);
#line 27
 testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 28
 testRunner.And("xDB panel has opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 29
 testRunner.When("Actor opens Habitat Main page in a new tab", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
            TechTalk.SpecFlow.Table table2 = new TechTalk.SpecFlow.Table(new string[] {
                        "Email",
                        "Password",
                        "ConfirmPassword"});
            table2.AddRow(new string[] {
                        "kov10@sitecore.net",
                        "k",
                        "k"});
#line 30
 testRunner.And("Actor registers a new User in Habitat", ((string)(null)), table2, "And ");
#line 33
 testRunner.And("Actor returns to previous tab", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 34
 testRunner.And("Actor clicks <Refresh> button on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 35
 testRunner.And("Actor expands <Onsite Behavior> header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table3 = new TechTalk.SpecFlow.Table(new string[] {
                        "Triggered goal"});
            table3.AddRow(new string[] {
                        "Register"});
            table3.AddRow(new string[] {
                        "Login"});
#line 36
 testRunner.Then("Trigger Goals field contains values", ((string)(null)), table3, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC4_End visit")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC4_EndVisit()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC4_End visit", new string[] {
                        "NeedImplementation"});
#line 44
this.ScenarioSetup(scenarioInfo);
#line 45
  testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 46
  testRunner.And("xDB panel has opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 47
  testRunner.When("Actor clicks <End Visit> button on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 48
  testRunner.And("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 49
  testRunner.And("Actor expands Engagement header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table4 = new TechTalk.SpecFlow.Table(new string[] {
                        "Number of visits"});
            table4.AddRow(new string[] {
                        "2"});
#line 50
  testRunner.Then("<Engagement header> contains following values", ((string)(null)), table4, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC5_Engagement header_Main view")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC5_EngagementHeader_MainView()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC5_Engagement header_Main view", new string[] {
                        "NeedImplementation"});
#line 56
this.ScenarioSetup(scenarioInfo);
#line 57
 testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 58
 testRunner.When("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
            TechTalk.SpecFlow.Table table5 = new TechTalk.SpecFlow.Table(new string[] {
                        "Engagement value",
                        "Pages Viewed",
                        "Number of visits"});
            table5.AddRow(new string[] {
                        "0",
                        "1",
                        "2"});
#line 59
 testRunner.Then("<Engagement header> contains following values", ((string)(null)), table5, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC6_Engagement header_Engagement value_First open")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC6_EngagementHeader_EngagementValue_FirstOpen()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC6_Engagement header_Engagement value_First open", new string[] {
                        "NeedImplementation"});
#line 65
this.ScenarioSetup(scenarioInfo);
#line 66
  testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 67
  testRunner.And("xDB panel has opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 68
  testRunner.When("Actor expands <Engagement header> on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
            TechTalk.SpecFlow.Table table6 = new TechTalk.SpecFlow.Table(new string[] {
                        "field value"});
            table6.AddRow(new string[] {
                        "0"});
#line 69
  testRunner.Then("<Engagement value> field contains", ((string)(null)), table6, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC7_Engagement header_Engagement value_Triggered value")]
        [Xunit.TraitAttribute("Category", "Design")]
        [Xunit.TraitAttribute("Category", "starts")]
        [Xunit.TraitAttribute("Category", "after")]
        [Xunit.TraitAttribute("Category", "Bug")]
        [Xunit.TraitAttribute("Category", "37402")]
        [Xunit.TraitAttribute("Category", "is")]
        [Xunit.TraitAttribute("Category", "implemented")]
        public virtual void XDBPanel_UC7_EngagementHeader_EngagementValue_TriggeredValue()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC7_Engagement header_Engagement value_Triggered value", new string[] {
                        "Design",
                        "starts",
                        "after",
                        "Bug",
                        "37402",
                        "is",
                        "implemented"});
#line 76
this.ScenarioSetup(scenarioInfo);
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC8_Engagement header_Pages seen in this visit_Ten latest pages")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC8_EngagementHeader_PagesSeenInThisVisit_TenLatestPages()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC8_Engagement header_Pages seen in this visit_Ten latest pages", new string[] {
                        "NeedImplementation"});
#line 80
this.ScenarioSetup(scenarioInfo);
#line 81
 testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 82
 testRunner.When("Actor goes to More-Info page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 83
 testRunner.And("Actor goes to Feature page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 84
 testRunner.And("Actor goes to Person page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 85
 testRunner.And("Actor goes to Employees-List page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 86
 testRunner.And("Actor goes to Main page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 87
 testRunner.And("Actor goes to Register page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 88
 testRunner.And("Actor goes to Login page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 89
 testRunner.And("Actor goes to Getting-Started page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 90
 testRunner.And("Actor goes to Main page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 91
 testRunner.And("Actor goes to More-Info page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 92
 testRunner.And("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 93
 testRunner.And("Actor expands <Engagement header> on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table7 = new TechTalk.SpecFlow.Table(new string[] {
                        "field value"});
            table7.AddRow(new string[] {
                        "/More-Info"});
            table7.AddRow(new string[] {
                        "/Modules/Feature"});
            table7.AddRow(new string[] {
                        "/Modules/Feature/Person"});
            table7.AddRow(new string[] {
                        "/Modules/Feature/Person/Employees-List"});
            table7.AddRow(new string[] {
                        "/Home"});
            table7.AddRow(new string[] {
                        "/Register"});
            table7.AddRow(new string[] {
                        "/Login"});
            table7.AddRow(new string[] {
                        "/Getting-Started"});
            table7.AddRow(new string[] {
                        "/Home"});
            table7.AddRow(new string[] {
                        "/More-Info"});
#line 94
 testRunner.Then("<Pages seen in this visit> field contains", ((string)(null)), table7, "Then ");
#line 106
 testRunner.And("Some pages have info about time actor had spent on page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC9_Engagement header_Visits to the site")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC9_EngagementHeader_VisitsToTheSite()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC9_Engagement header_Visits to the site", new string[] {
                        "NeedImplementation"});
#line 110
this.ScenarioSetup(scenarioInfo);
#line 111
 testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 112
 testRunner.And("xDB panel has opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 113
 testRunner.When("Actor clicks <End Visit> button on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 114
 testRunner.And("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 115
 testRunner.And("Actor clicks <End Visit> button on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 116
 testRunner.And("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 117
 testRunner.And("Actor expands <Engagement header> on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table8 = new TechTalk.SpecFlow.Table(new string[] {
                        "field value"});
            table8.AddRow(new string[] {
                        "3"});
#line 118
 testRunner.Then("<Visits to the site> field contains", ((string)(null)), table8, "Then ");
#line hidden
            TechTalk.SpecFlow.Table table9 = new TechTalk.SpecFlow.Table(new string[] {
                        "Number of visits"});
            table9.AddRow(new string[] {
                        "2"});
#line 121
 testRunner.And("<Engagement header> contains following values", ((string)(null)), table9, "And ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC10_Personal Information header_Contact identification_Anonymus")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC10_PersonalInformationHeader_ContactIdentification_Anonymus()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC10_Personal Information header_Contact identification_Anonymus", new string[] {
                        "NeedImplementation"});
#line 127
this.ScenarioSetup(scenarioInfo);
#line 128
 testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 129
 testRunner.When("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 130
 testRunner.And("Actor expands <Personal Information> header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table10 = new TechTalk.SpecFlow.Table(new string[] {
                        "Contact identification"});
            table10.AddRow(new string[] {
                        "You are anonymous"});
#line 131
 testRunner.Then("<Personal Information> contains following values", ((string)(null)), table10, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC11_Personal Information header_Contact identification_Registered user" +
            "")]
        [Xunit.TraitAttribute("Category", "Design")]
        [Xunit.TraitAttribute("Category", "starts")]
        [Xunit.TraitAttribute("Category", "after")]
        [Xunit.TraitAttribute("Category", "Bug")]
        [Xunit.TraitAttribute("Category", "37402")]
        [Xunit.TraitAttribute("Category", "is")]
        [Xunit.TraitAttribute("Category", "implemented")]
        public virtual void XDBPanel_UC11_PersonalInformationHeader_ContactIdentification_RegisteredUser()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC11_Personal Information header_Contact identification_Registered user" +
                    "", new string[] {
                        "Design",
                        "starts",
                        "after",
                        "Bug",
                        "37402",
                        "is",
                        "implemented"});
#line 138
this.ScenarioSetup(scenarioInfo);
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC12_Personal Information header_Device detection")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC12_PersonalInformationHeader_DeviceDetection()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC12_Personal Information header_Device detection", new string[] {
                        "NeedImplementation"});
#line 142
this.ScenarioSetup(scenarioInfo);
#line 143
 testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 144
 testRunner.When("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 145
 testRunner.And("Actor expands <Personal Information> header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table11 = new TechTalk.SpecFlow.Table(new string[] {
                        "Device",
                        "Browser"});
            table11.AddRow(new string[] {
                        "Misc, Windows PC",
                        "Unidentified"});
#line 146
 testRunner.Then("<Device> contains following values", ((string)(null)), table11, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC13_Onsite Behavior_Profiling_Contact have not been profiled")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC13_OnsiteBehavior_Profiling_ContactHaveNotBeenProfiled()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC13_Onsite Behavior_Profiling_Contact have not been profiled", new string[] {
                        "NeedImplementation"});
#line 153
this.ScenarioSetup(scenarioInfo);
#line 154
 testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 155
 testRunner.When("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 156
 testRunner.And("Actor expands <Personal Information> header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table12 = new TechTalk.SpecFlow.Table(new string[] {
                        "field value"});
            table12.AddRow(new string[] {
                        "You have not been profiled yet"});
#line 157
 testRunner.Then("<Profiling> contains following values", ((string)(null)), table12, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC14_Onsite Behavior_Profiling_Contact profile")]
        [Xunit.TraitAttribute("Category", "Design")]
        [Xunit.TraitAttribute("Category", "starts")]
        [Xunit.TraitAttribute("Category", "after")]
        [Xunit.TraitAttribute("Category", "Bug")]
        [Xunit.TraitAttribute("Category", "37402")]
        [Xunit.TraitAttribute("Category", "is")]
        [Xunit.TraitAttribute("Category", "implemented")]
        public virtual void XDBPanel_UC14_OnsiteBehavior_Profiling_ContactProfile()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC14_Onsite Behavior_Profiling_Contact profile", new string[] {
                        "Design",
                        "starts",
                        "after",
                        "Bug",
                        "37402",
                        "is",
                        "implemented"});
#line 164
this.ScenarioSetup(scenarioInfo);
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC15_Onsite Behavior_Triggered goals_No triggered goals")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC15_OnsiteBehavior_TriggeredGoals_NoTriggeredGoals()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC15_Onsite Behavior_Triggered goals_No triggered goals", new string[] {
                        "NeedImplementation"});
#line 169
this.ScenarioSetup(scenarioInfo);
#line 170
 testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 171
 testRunner.When("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 172
 testRunner.And("Actor expands <Personal Information> header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table13 = new TechTalk.SpecFlow.Table(new string[] {
                        "field value"});
            table13.AddRow(new string[] {
                        "You have triggered no goals so far"});
#line 173
 testRunner.Then("<Triggered goals> contains following values", ((string)(null)), table13, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC16_Onsite Behavior_Triggered goals_Trigger")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC16_OnsiteBehavior_TriggeredGoals_Trigger()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC16_Onsite Behavior_Triggered goals_Trigger", new string[] {
                        "NeedImplementation"});
#line 179
this.ScenarioSetup(scenarioInfo);
#line 180
 testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 181
 testRunner.And("xDB panel has opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table14 = new TechTalk.SpecFlow.Table(new string[] {
                        "Email",
                        "Password",
                        "ConfirmPassword"});
            table14.AddRow(new string[] {
                        "kov10@sitecore.net",
                        "k",
                        "k"});
#line 182
 testRunner.When("Actor registers a new User in Habitat", ((string)(null)), table14, "When ");
#line 185
 testRunner.And("Actor logged out", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table15 = new TechTalk.SpecFlow.Table(new string[] {
                        "Email",
                        "Password"});
            table15.AddRow(new string[] {
                        "kov10@sitecore.net",
                        "k"});
#line 186
 testRunner.And("Actor logins to Habitat with a user", ((string)(null)), table15, "And ");
#line 189
 testRunner.And("Actor expands <Onsite Behavior> header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table16 = new TechTalk.SpecFlow.Table(new string[] {
                        "Triggered goal"});
            table16.AddRow(new string[] {
                        "Register"});
            table16.AddRow(new string[] {
                        "Login"});
            table16.AddRow(new string[] {
                        "Login"});
#line 190
 testRunner.Then("<Triggered goals> contains following values", ((string)(null)), table16, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC17_Onsite Behavior_Outcomes_No outcomes have been reached")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC17_OnsiteBehavior_Outcomes_NoOutcomesHaveBeenReached()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC17_Onsite Behavior_Outcomes_No outcomes have been reached", new string[] {
                        "NeedImplementation"});
#line 199
this.ScenarioSetup(scenarioInfo);
#line 200
 testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 201
 testRunner.And("xDB panel has opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 202
 testRunner.When("Actor expands <Onsite Behavior> header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
            TechTalk.SpecFlow.Table table17 = new TechTalk.SpecFlow.Table(new string[] {
                        "field value"});
            table17.AddRow(new string[] {
                        "You have reached no outcomes"});
#line 203
 testRunner.Then("<Outcomes> contains following values", ((string)(null)), table17, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC18_Onsite Behavior_Outcomes_Triggered outcome")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC18_OnsiteBehavior_Outcomes_TriggeredOutcome()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC18_Onsite Behavior_Outcomes_Triggered outcome", new string[] {
                        "NeedImplementation"});
#line 212
this.ScenarioSetup(scenarioInfo);
#line hidden
            TechTalk.SpecFlow.Table table18 = new TechTalk.SpecFlow.Table(new string[] {
                        "ItemPath",
                        "FieldName",
                        "FieldValue"});
            table18.AddRow(new string[] {
                        "/sitecore/content/Habitat",
                        "RegisterOutcome",
                        "Outcomes/Sales Lead"});
#line 213
 testRunner.Given("Outcome set to item field", ((string)(null)), table18, "Given ");
#line 216
 testRunner.And("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 217
 testRunner.And("xDB panel has opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 218
 testRunner.When("Actor expands <Onsite Behavior> header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
            TechTalk.SpecFlow.Table table19 = new TechTalk.SpecFlow.Table(new string[] {
                        "field value"});
            table19.AddRow(new string[] {
                        "Sales Lead"});
#line 219
 testRunner.Then("<Outcomes> contains following values", ((string)(null)), table19, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC19_Referral_Referrer_Direct referrer")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC19_Referral_Referrer_DirectReferrer()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC19_Referral_Referrer_Direct referrer", new string[] {
                        "NeedImplementation"});
#line 225
this.ScenarioSetup(scenarioInfo);
#line 226
  testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 227
  testRunner.And("xDB panel has opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 228
  testRunner.When("Actor expands <Referral> header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line hidden
            TechTalk.SpecFlow.Table table20 = new TechTalk.SpecFlow.Table(new string[] {
                        "field value"});
            table20.AddRow(new string[] {
                        "Direct traffic"});
#line 229
  testRunner.Then("<Outcomes> contains following values", ((string)(null)), table20, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC20_Referral_Referrer_Referrel after second visit")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC20_Referral_Referrer_ReferrelAfterSecondVisit()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC20_Referral_Referrer_Referrel after second visit", new string[] {
                        "NeedImplementation"});
#line 236
this.ScenarioSetup(scenarioInfo);
#line 237
  testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 238
  testRunner.And("xDB panel has opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 239
  testRunner.When("Actor clicks <End Visit> button on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 240
  testRunner.And("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 241
  testRunner.And("Actor expands <Referral> header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table21 = new TechTalk.SpecFlow.Table(new string[] {
                        "field value"});
            table21.AddRow(new string[] {
                        "Habitat website url"});
#line 242
  testRunner.Then("<Outcomes> contains following values", ((string)(null)), table21, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC21_Referral_Referrer_From another site")]
        [Xunit.TraitAttribute("Category", "Bug")]
        [Xunit.TraitAttribute("Category", "35882:")]
        public virtual void XDBPanel_UC21_Referral_Referrer_FromAnotherSite()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC21_Referral_Referrer_From another site", new string[] {
                        "Bug",
                        "35882:"});
#line 249
this.ScenarioSetup(scenarioInfo);
#line 250
 testRunner.Given("Mockup of Google page is opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 251
 testRunner.When("Actor enters new test search text in to search field", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 252
 testRunner.And("Actor clicks Google Search button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 253
 testRunner.And("Actor clicks Sitecore Habitat - Flexibility, Simplicity, Extensibility link", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 254
 testRunner.And("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 255
  testRunner.And("Actor expands <Referral> header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table22 = new TechTalk.SpecFlow.Table(new string[] {
                        "field value"});
            table22.AddRow(new string[] {
                        "Demo website url"});
#line 256
  testRunner.Then("<Outcomes> contains following values", ((string)(null)), table22, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC22_Referral_Campaigns_No associated campaigns")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC22_Referral_Campaigns_NoAssociatedCampaigns()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC22_Referral_Campaigns_No associated campaigns", new string[] {
                        "NeedImplementation"});
#line 263
this.ScenarioSetup(scenarioInfo);
#line 264
 testRunner.Given("Habitat website is opened on Main Page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 265
 testRunner.And("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 266
 testRunner.And("Actor expands <Referral> header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table23 = new TechTalk.SpecFlow.Table(new string[] {
                        "field value"});
            table23.AddRow(new string[] {
                        "You have not been associated with any campaigns"});
#line 267
 testRunner.Then("<Campaigns> contains following values", ((string)(null)), table23, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC23_Referral_Campaigns_No associated campaigns")]
        [Xunit.TraitAttribute("Category", "Bug")]
        [Xunit.TraitAttribute("Category", "35882:")]
        public virtual void XDBPanel_UC23_Referral_Campaigns_NoAssociatedCampaigns()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC23_Referral_Campaigns_No associated campaigns", new string[] {
                        "Bug",
                        "35882:"});
#line 273
this.ScenarioSetup(scenarioInfo);
#line 274
 testRunner.Given("Mockup of Google page is opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 275
 testRunner.When("Actor enters new test search text in to search field", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 276
 testRunner.And("Actor clicks Google Search button", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 277
 testRunner.And("Actor clicks Sitecore Habitat - Flexibility, Simplicity, Extensibility link", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 278
 testRunner.And("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 279
 testRunner.And("Actor expands <Referral> header on xDB panel", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
            TechTalk.SpecFlow.Table table24 = new TechTalk.SpecFlow.Table(new string[] {
                        "field value"});
            table24.AddRow(new string[] {
                        "Facebook Content Messages"});
#line 280
 testRunner.Then("<Campaigns> contains following values", ((string)(null)), table24, "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC24_Available on another page")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC24_AvailableOnAnotherPage()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC24_Available on another page", new string[] {
                        "NeedImplementation"});
#line 286
this.ScenarioSetup(scenarioInfo);
#line 287
  testRunner.Given("Habitat website is opened on Feature page", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 288
  testRunner.When("Actor selects <Open visit details panel> slidebar", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 289
 testRunner.Then("xDB panel has opened", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            TechTalk.SpecFlow.Table table25 = new TechTalk.SpecFlow.Table(new string[] {
                        "Header name"});
            table25.AddRow(new string[] {
                        "Engagement"});
            table25.AddRow(new string[] {
                        "Personal Information"});
            table25.AddRow(new string[] {
                        "Onsite Behavior"});
            table25.AddRow(new string[] {
                        "Referral"});
#line 290
 testRunner.And("xDB panel contains following headers", ((string)(null)), table25, "And ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC25_Not available in Edit mode")]
        [Xunit.TraitAttribute("Category", "NeedImplementation")]
        public virtual void XDBPanel_UC25_NotAvailableInEditMode()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC25_Not available in Edit mode", new string[] {
                        "NeedImplementation"});
#line 300
this.ScenarioSetup(scenarioInfo);
#line 301
 testRunner.Given("User registered and login on Habitat website", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 302
 testRunner.When("User opens Main Page and switch  to Edit mode", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 303
 testRunner.Then("<xDB> panel be unavailable from right side of window", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC26_Not available in Preview mode")]
        public virtual void XDBPanel_UC26_NotAvailableInPreviewMode()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC26_Not available in Preview mode", ((string[])(null)));
#line 305
this.ScenarioSetup(scenarioInfo);
#line 306
    testRunner.Given("User registered and login on Habitat website", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 307
 testRunner.When("User opens Main Page and switch to Preview mode", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 308
 testRunner.Then("<xDB> panel be unavailable from right side of window", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC27_Not available in Explore mode")]
        public virtual void XDBPanel_UC27_NotAvailableInExploreMode()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC27_Not available in Explore mode", ((string[])(null)));
#line 310
this.ScenarioSetup(scenarioInfo);
#line 311
 testRunner.Given("User registered and login on Habitat website", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 312
 testRunner.When("User opens Main Page and switch to Explore mode", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 313
 testRunner.Then("<xDB> panel be unavailable from right side of window", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC28_Not available in Debug mode")]
        public virtual void XDBPanel_UC28_NotAvailableInDebugMode()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC28_Not available in Debug mode", ((string[])(null)));
#line 315
this.ScenarioSetup(scenarioInfo);
#line 316
 testRunner.Given("User registered and login on Habitat website", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
#line 317
 testRunner.When("User opens Main Page and switch to Debug mode", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
#line 318
 testRunner.Then("<xDB> panel be unavailable from right side of window", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
            this.ScenarioCleanup();
        }

        [Xunit.FactAttribute()]
        [Xunit.TraitAttribute("FeatureTitle", "xDB Panel")]
        [Xunit.TraitAttribute("Description", "xDB Panel_UC29_Tooltips")]
        [Xunit.TraitAttribute("Category", "Need")]
        [Xunit.TraitAttribute("Category", "design")]
        [Xunit.TraitAttribute("Category", "after")]
        [Xunit.TraitAttribute("Category", "Bug")]
        [Xunit.TraitAttribute("Category", "37617")]
        [Xunit.TraitAttribute("Category", "is")]
        [Xunit.TraitAttribute("Category", "fixed")]
        public virtual void XDBPanel_UC29_Tooltips()
        {
            TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("xDB Panel_UC29_Tooltips", new string[] {
                        "Need",
                        "design",
                        "after",
                        "Bug",
                        "37617",
                        "is",
                        "fixed"});
#line 322
this.ScenarioSetup(scenarioInfo);
#line hidden
            this.ScenarioCleanup();
        }

        [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "2.0.0.0")]
        [System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
        public class FixtureData : System.IDisposable
        {

            public FixtureData()
            {
                XDBPanelFeature.FeatureSetup();
            }

            void System.IDisposable.Dispose()
            {
                XDBPanelFeature.FeatureTearDown();
            }
        }
    }
}
#pragma warning restore
#endregion


text:
<component name="libraryTable">
  <library name="Maven: org.onosproject:copycat-state-machine:0.5.0.onos">
    <CLASSES>
      <root url="jar://$MAVEN_REPOSITORY$/org/onosproject/copycat-state-machine/0.5.0.onos/copycat-state-machine-0.5.0.onos.jar!/" />
    </CLASSES>
    <JAVADOC>
      <root url="jar://$MAVEN_REPOSITORY$/org/onosproject/copycat-state-machine/0.5.0.onos/copycat-state-machine-0.5.0.onos-javadoc.jar!/" />
    </JAVADOC>
    <SOURCES>
      <root url="jar://$MAVEN_REPOSITORY$/org/onosproject/copycat-state-machine/0.5.0.onos/copycat-state-machine-0.5.0.onos-sources.jar!/" />
    </SOURCES>
  </library>
</component>